|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.lists.AbstractSequence gnu.lists.GeneralArray gnu.lists.GeneralArray1
public class GeneralArray1
Field Summary |
---|
Fields inherited from interface gnu.lists.Sequence |
---|
ATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE |
Constructor Summary | |
---|---|
GeneralArray1()
|
Method Summary | |
---|---|
void |
consumePosRange(int iposStart,
int iposEnd,
Consumer out)
|
int |
createPos(int index,
boolean isAfter)
Generate a position at a given index. |
protected int |
nextIndex(int ipos)
Get the offset from the beginning corresponding to a position cookie. |
Methods inherited from class gnu.lists.GeneralArray |
---|
get, get, getEffectiveIndex, getLowBound, getRowMajor, getSize, makeSimple, rank, set, size, toString, toString, transpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface gnu.lists.Sequence |
---|
elements, fill, get, isEmpty, set, size |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, subList, toArray, toArray |
Methods inherited from interface gnu.lists.Consumable |
---|
consume |
Methods inherited from interface gnu.lists.Array |
---|
isEmpty |
Constructor Detail |
---|
public GeneralArray1()
Method Detail |
---|
public int createPos(int index, boolean isAfter)
AbstractSequence
createPos
in class GeneralArray
index
- offset from beginning of desired positionisAfter
- should the position have the isAfter propertyprotected int nextIndex(int ipos)
AbstractSequence
nextIndex
in class AbstractSequence
public void consumePosRange(int iposStart, int iposEnd, Consumer out)
consumePosRange
in class AbstractSequence
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |