Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Util.Collections
Class FilterIterator.Filter  view FilterIterator.Filter download FilterIterator.Filter.java

java.lang.Object
  extended byUtil.Collections.FilterIterator.Filter
Enclosing class:
FilterIterator

public static class FilterIterator.Filter
extends java.lang.Object


Constructor Summary
FilterIterator.Filter()
           
 
Method Summary
 boolean isElement(java.lang.Object o)
          Return true if the specified element should be included in the filtered enumeration.
 java.lang.Object map(java.lang.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
 

Constructor Detail

FilterIterator.Filter

public FilterIterator.Filter()
Method Detail

isElement

public boolean isElement(java.lang.Object o)
Return true if the specified element should be included in the filtered enumeration.
Default implementation returns true for all Objects (no filter).


map

public java.lang.Object map(java.lang.Object o)
Perform a mapping on elements from the source enumeration.
Default implementation returns o (identity mapping).