Iterator<EvolvableBoxAgent3DAppendixInfo> iter = appendixInfoList
.iterator();
while (iter.hasNext()) {
EvolvableBoxAgent3DAppendixInfo ainfo = iter.next();
EvolvableBoxAgent3DConnectable predecessor = null;
// If predecessorId == 0 then attach it directly to the core.
if (ainfo.getPredecessorId() == 0) {
predecessor = agent;
}
// If not, attach it to the appendix with the id.