|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.lists.AbstractSequence gnu.lists.ExtSequence
public abstract class ExtSequence
Abstract helper class for Sequences that use an ExtPosition. That is sequences where it is inefficient to represent a position just using a Pos int.
Constructor Summary | |
---|---|
ExtSequence()
|
Method Summary | |
---|---|
int |
copyPos(int ipos)
Make a copy of a position int. |
protected boolean |
isAfterPos(int ipos)
Tests whether the position has the "isAfter" property. |
protected int |
nextIndex(int ipos)
Get the offset from the beginning corresponding to a position cookie. |
protected void |
releasePos(int ipos)
Reclaim any resources used by the given position int. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExtSequence()
Method Detail |
---|
public int copyPos(int ipos)
AbstractSequence
copyPos
in class AbstractSequence
ipos
- the position being copied.
protected void releasePos(int ipos)
AbstractSequence
releasePos
in class AbstractSequence
ipos
- the Pos being free'd.protected boolean isAfterPos(int ipos)
AbstractSequence
isAfterPos
in class AbstractSequence
protected int nextIndex(int ipos)
AbstractSequence
nextIndex
in class AbstractSequence
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |