borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.model
java.lang.Object +----borland.jbcl.model.FilteredForwardIterator
Constructors Properties Methods
Implements ForwardIterator, InputIterator, OutputIterator, Cloneable, Enumeration
The FilteredForwardIterator class is an abstract class that iterates over selected data items only. It is a forward iterator, which is an object that can read and write one item at a time. Subclass FilteredForwardIterator to filter elements during a forward iteration.
public FilteredForwardIterator(COM.objectspace.jgl.ForwardIterator slave)Constructs a FilteredForwardIterator object using the specified forward iterator.
Parameters:
public Object getNext()Returns the next Object in the iteration.
public boolean equals(borland.jbcl.model.FilteredForwardIterator that)Returns true if the specified input iterator is equal to the FilteredInputIterator.
Parameters:
protected Object getNextMatching()Returns the next matching object.
protected abstract boolean includeObject(java.lang.Object o)Used by the getNextMatching() method. If includeObject() returns true, getNextMatching() includes the object in the iteration.