All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface COM.objectspace.jgl.OutputIterator

public interface OutputIterator
extends Cloneable
OutputIterator is the interface of all iterators that can write one item at a time in a forward direction.

See Also:
InputIterator

Method Index

 o advance()
Advance by one.
 o advance(int)
Advance by a specified amount.
 o clone()
Return a clone of myself.
 o put(Object)
Set the object at my current position to a specified value.

Methods

 o put
 public abstract void put(Object object)
Set the object at my current position to a specified value.

Parameters:
object - The object to be written 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