public static class Range.IntRange extends Range<java.lang.Integer> implements IntSequence, java.io.Externalizable
Range.IntRangenoIntsATTRIBUTE_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 and Description |
|---|
IntRange(int start,
int step) |
IntRange(int start,
int step,
int size) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
get(int index)
See java.util.List.
|
int |
getElementKind() |
int |
getInt(int index) |
int |
getIntRaw(int index) |
int |
getLastInt() |
java.lang.Integer |
getRaw(int index)
Given an "effective index", return element as object.
|
java.lang.Integer |
getStart() |
int |
getStartInt() |
int |
getStepInt() |
void |
readExternal(java.io.ObjectInput in) |
Range.IntRange |
subList(int fromIx,
int toIx) |
Range.IntRange |
subListFromRange(int rstart,
int rstep,
int rsize) |
void |
writeExternal(java.io.ObjectOutput out) |
downto, getStep, isUnbounded, isUnspecifiedLast, isUnspecifiedStart, listAll, size, toString, uptoadd, add, addAll, addAll, addPos, asImmutable, badRank, boundedHash, checkCanWrite, checkRank, clear, compare, compare, compare, consume, consume, consumeNext, consumePosRange, contains, containsAll, copyPos, createPos, createRelativePos, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, elements, endPos, equals, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, get, get, get, getAttribute, getAttributeLength, getBooleanRaw, getByteRaw, getCharRaw, getContainingSequenceSize, getDoubleRaw, getFloatRaw, getIndexDifference, getInt, getInt, getInt, getInt, getIterator, getIterator, getIteratorAtPos, getLongRaw, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getPosNext, getPosPrevious, getRowMajor, getShortRaw, getSize, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isAfterPos, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextIndex, nextMatching, nextPos, parentPos, previousPos, rank, releasePos, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setAt, setBuffer, setPosNext, setPosPrevious, setRaw, stableCompare, startPos, subSequence, subSequencePos, toArray, toArray, toString, unsupported, unsupportedExceptionclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitapplyAsInt, sizeasImmutable, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, get, get, get, get, getBooleanRaw, getByteRaw, getCharRaw, getDoubleRaw, getFloatRaw, getInt, getInt, getInt, getInt, getLongRaw, getLowBound, getRowMajor, getShortRaw, getSize, getSize, isEmpty, rank, set, setRawadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayconsumeboundedHashpublic IntRange(int start,
int step,
int size)
public IntRange(int start,
int step)
public int getStartInt()
public int getLastInt()
public int getStepInt()
public int getInt(int index)
getInt in interface Array<java.lang.Integer>getInt in interface IntSequencegetInt in interface Sequence<java.lang.Integer>getInt in class AbstractSequence<java.lang.Integer>public Range.IntRange subListFromRange(int rstart, int rstep, int rsize)
public Range.IntRange subList(int fromIx, int toIx)
subList in interface java.util.List<java.lang.Integer>subList in class AbstractSequence<java.lang.Integer>public java.lang.Integer get(int index)
Sequencepublic java.lang.Integer getRaw(int index)
Arraypublic int getIntRaw(int index)
getIntRaw in interface Array<java.lang.Integer>getIntRaw in class AbstractSequence<java.lang.Integer>public int getElementKind()
getElementKind in interface Array<java.lang.Integer>getElementKind in class AbstractSequence<java.lang.Integer>public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException