com.twelvemonkeys.util
Interface FilterIterator.Filter<E>

Enclosing class:
FilterIterator<E>

public static interface FilterIterator.Filter<E>

Used to tests whether or not an element fulfills certain criteria, and hence should be accepted by the FilterIterator instance.


Method Summary
 boolean accept(E pElement)
          Tests whether or not the element fulfills certain criteria, and hence should be accepted.
 

Method Detail

accept

boolean accept(E pElement)
Tests whether or not the element fulfills certain criteria, and hence should be accepted.

Parameters:
pElement - the element to test
Returns:
true if the object is accepted, otherwise false


Copyright © 2015. All Rights Reserved.