borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.model 

FilteredInputIterator class (abstract)

java.lang.Object
   +----borland.jbcl.model.FilteredInputIterator

About the FilteredInputIterator class

Constructors  Properties  Methods  

Implements InputIterator, Cloneable, Enumeration

The FilteredInputIterator class is an an abstract class that implements the InputIterator interface. Only the data contained in the specified input iterator is included in the iteration.


FilteredInputIterator constructors

FilteredInputIterator properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

FilteredInputIterator methods

Methods implemented in this class

Methods implemented in java.lang.Object


FilteredInputIterator constructors

FilteredInputIterator(COM.objectspace.jgl.InputIterator)

  public FilteredInputIterator(COM.objectspace.jgl.InputIterator slave)
Constructs a FilteredInputIterator object using the specified input iterator.

Parameters:

slave
An input iterator object used for filtering

FilteredInputIterator properties

next

 public Object getNext()
Returns the next Object in the iteration.

FilteredInputIterator methods

equals(COM.objectspace.jgl.InputIterator)

  public boolean equals(COM.objectspace.jgl.InputIterator that)
Returns true if the specified input iterator is equal to the FilteredInputIterator.

Parameters:

that
The input iterator this object is compared to.

getNextMatching()

  protected Object getNextMatching()
Returns the next matching object.

includeObject(java.lang.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.