// if this port has at least one value
if (p.hasValue()) {
list = p.readAll();
p.clear();
p.changed();
// System.out.println("all values added");
// add a new PortParcel (that's a port reference as well as the list
// of objects
result.add(new PortParcel(p, list));