Class ListRandomIterator.IndexFilter
- java.lang.Object
-
- com.globalmentor.collections.iterators.ListRandomIterator.IndexFilter
-
- All Implemented Interfaces:
Filter<java.lang.Integer>
- Enclosing class:
- ListRandomIterator<E>
protected class ListRandomIterator.IndexFilter extends java.lang.Object implements Filter<java.lang.Integer>
A class that filters random integers based upon whether the object at the given index in our list passes the criteria of our local filter.- Author:
- Garret Wilson
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
IndexFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPass(java.lang.Integer integer)
Determines whether a given object should pass through the filter or be filtered out.
-