harpoon.Util
Class FilterEnumerator.Filter
java.lang.Object
|
+--harpoon.Util.FilterEnumerator.Filter
- Enclosing class:
- FilterEnumerator
- public static class FilterEnumerator.Filter
- extends Object
Method Summary |
boolean |
isElement(Object o)
Return true if the specified element should be
included in the filtered enumeration. |
Object |
map(Object o)
Perform a mapping on elements from the source enumeration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterEnumerator.Filter
public FilterEnumerator.Filter()
isElement
public boolean isElement(Object o)
- Return
true
if the specified element should be
included in the filtered enumeration.
map
public Object map(Object o)
- Perform a mapping on elements from the source enumeration.