edu.umd.cfar.lamp.viper.util
Interface ExceptIterator.ExceptFunctor
- Enclosing interface:
- ExceptIterator
- public static interface ExceptIterator.ExceptFunctor
Function object for testing to see if
the ExceptIterator should return them.
Method Summary |
boolean |
check(java.lang.Object o)
This is the method that the ExceptIterator runs on each object in
its internal Iterator to decide whether to return the object or not. |
check
public boolean check(java.lang.Object o)
- This is the method that the ExceptIterator runs on each object in
its internal Iterator to decide whether to return the object or not.
- Parameters:
o
- An element from the Iterator
- Returns:
true
if you want the object from the iterator
to be passed back via the next method, and false
if you wish for it to be ignored.