All Packages Class Hierarchy This Package Previous Next Index
Interface jgl.ForwardIterator
- public interface ForwardIterator
- extends InputIterator, OutputIterator
ForwardIterator is the interface of all iterators that can
read and/or write one item at a time in a forward direction.
- Version:
- JOS-FileSystem 4 Preview (25-Mar-98)
- Author:
- ObjectSpace, Inc.
-
advance()
- Advance by one.
-
advance(int)
- Advance by a specified amount.
-
clone()
- Return a clone of myself.
-
distance(ForwardIterator)
- Return the distance from myself to another iterator.
-
getContainer()
- Return my associated container.
advance
public abstract void advance()
- Advance by one.
advance
public abstract void advance(int n)
- Advance by a specified amount.
- Parameters:
- n - The amount to advance.
distance
public abstract int distance(ForwardIterator iterator)
- Return the distance from myself to another iterator.
I should be before the specified iterator.
- Parameters:
- iterator - The iterator to compare myself against.
clone
public abstract Object clone()
- Return a clone of myself.
- Overrides:
- clone in class Object
getContainer
public abstract Container getContainer()
- Return my associated container.
All Packages Class Hierarchy This Package Previous Next Index