All Packages Class Hierarchy This Package Previous Next Index
Class jdsl.core.ref.SequencePosition
java.lang.Object
|
+----jdsl.core.ref.SequencePosition
- public class SequencePosition
- extends Object
- implements Position
A wrapper around the Position interface for the Sequence. It also
has methods that relate to the index of the position in
the array
- Author:
- Mark Faktorovich
-
SequencePosition(Container, Object, int)
- Constructor, needs to receive the container that is holding
this position as well as the object that it should hold and
its index
-
container()
-
Override from Position
-
element()
-
Override from Position
SequencePosition
public SequencePosition(Container container,
Object el,
int index)
- Constructor, needs to receive the container that is holding
this position as well as the object that it should hold and
its index
element
public Object element() throws InvalidPositionException
- Override from Position
- Returns:
- The client element currently stored at this Position
container
public Container container() throws InvalidPositionException
- Override from Position
- Returns:
- The Container that created, and is holding, this Position
All Packages Class Hierarchy This Package Previous Next Index