|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jdsl.SequencePosition
A wrapper around the Position interface for the Sequence. It also has methods that relate to the index of the position in the array
| Constructor Summary | |
SequencePosition(Container container,
java.lang.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 |
|
| Method Summary | |
Container |
container()
Override from Position |
java.lang.Object |
element()
Override from Position |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SequencePosition(Container container,
java.lang.Object el,
int index)
| Method Detail |
public java.lang.Object element()
throws InvalidPositionException
public Container container()
throws InvalidPositionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||