I would assume it is just some arbitary condition that, if is not true (the "!" part beforehand), then the instance is removed from the collection. The condition could be anything - a !=7, xyz!=12345.
cond( i.next() ) calls a method called "cond" passing that value as a parameter. cond() apparently returns a boolean.
!cond turns into the opposite boolean value. If cond returns true, the if test fails. If cond returns false, the if test passes.
Does that help?
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Cause this way the for loop will remove every object in the collection, the cond function lets you specify the condition that the object must not fulfill in order to be removed. Lets say its your filter, only the objects that fail the condition will be removed
She will remember your heart when men are fairy tales in books written by rabbits.<br /> As long as there is duct tape... there is also hope.
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Gift giving made easy with the permaculture playing cards