new LinkedHashSet<Turtle>();
for (int i = 0; i < args.length; i++) {
Object elt = args[i].report(context);
if (elt instanceof AgentSet) {
AgentSet tempSet = (AgentSet) elt;
if (tempSet.type() != org.nlogo.agent.Turtle.class) {
throw new ArgumentTypeException
(context, this, i, Syntax.TurtleType() | Syntax.TurtlesetType(), elt);
}
for (AgentSet.Iterator iter = tempSet.iterator();
iter.hasNext();) {