All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.objectspace.jgl.InputIterator

public interface InputIterator
extends Enumeration, Cloneable
InputIterator is the interface of all iterators that can read one item at a time in a forward direction. InputIterator is an extension of the java.lang.Enumeration class.

See Also:
OutputIterator, Enumeration

Method Index

 o advance()
Advance by one.
 o advance(int)
Advance by a specified amount.
 o atBegin()
Return true if I'm positioned at the first item of my input stream.
 o atEnd()
Return true if I'm positioned after the last item in my input stream.
 o clone()
Return a clone of myself.
 o get()
Return the object at my current position.

Methods

 o atBegin
  public abstract boolean atBegin()
Return true if I'm positioned at the first item of my input stream.

 o atEnd
  public abstract boolean atEnd()
Return true if I'm positioned after the last item in my input stream.

 o get
  public abstract Object get()
Return the object at my current position.

 o advance
  public abstract void advance()
Advance by one.

 o advance
  public abstract void advance(int n)
Advance by a specified amount.

Parameters:
n - The amount to advance.
 o clone
  public abstract Object clone()
Return a clone of myself.

Overrides:
clone in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index