public class ArgListPair extends ImmutablePair implements ArgList, java.util.RandomAccess
car, cdr, incompleteListMarker
noInts
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
Modifier | Constructor and Description |
---|---|
protected |
ArgListPair(ArgListVector base,
int skip) |
Modifier and Type | Method and Description |
---|---|
int |
findKeyword(java.lang.String key)
Find index for keyword.
|
int |
firstKeyword() |
java.lang.Object |
get(int index)
See java.util.List.
|
java.lang.Object |
getArgAsObject(int i)
Index into arguments, not counting keywords.
|
static LList |
getArgs(CallContext ctx) |
java.lang.Object |
getCdr() |
java.lang.String |
getKeyword(int i)
Get keyword (as an interned String) for given argument.
|
int |
numArguments()
Number of actual arguments.
|
int |
numKeywords() |
int |
size()
See java.util.List.
|
static LList |
valueOf(ArgListVector args) |
static LList |
valueOf(ArgListVector args,
int skip) |
setCar, setCdr
compareTo, compareTo, equals, equals, getCar, getPosNext, getPosPrevious, hasNext, isEmpty, lastPair, length, make, nextPos, readExternal, readResolve, setCarBackdoor, setCdrBackdoor, toArray, toArray, writeExternal
boundedHash, chain1, chain4, checkNonList, consume, consX, createPos, createRelativePos, getIterator, hashCode, length, list1, list2, list3, list4, listLength, makeList, makeList, makeList, reverseInPlace, setPosNext, setPosPrevious, toString
copyPos, isAfterPos, nextIndex, releasePos
add, add, addAll, addAll, addPos, asImmutable, badRank, checkCanWrite, checkRank, clear, compare, compare, compare, consume, consumeNext, consumePosRange, contains, containsAll, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, effectiveIndex, elements, endPos, equals, fill, fill, fillPosRange, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, get, get, get, getAttribute, getAttributeLength, getBooleanRaw, getByteRaw, getCharRaw, getContainingSequenceSize, getDoubleRaw, getElementKind, getFloatRaw, getIndexDifference, getInt, getInt, getInt, getInt, getInt, getIntRaw, getIterator, getIteratorAtPos, getLongRaw, getLowBound, getNextKind, getNextTypeName, getNextTypeObject, getRaw, getRowMajor, getShortRaw, getSize, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hasPrevious, indexOf, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, remove, remove, removeAll, removePos, removePosRange, retainAll, set, set, setAt, setBuffer, setRaw, stableCompare, startPos, subList, subSequence, subSequencePos, toString, unsupported, unsupportedException
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected ArgListPair(ArgListVector base, int skip)
public static LList getArgs(CallContext ctx)
public static LList valueOf(ArgListVector args)
public static LList valueOf(ArgListVector args, int skip)
public java.lang.Object getArgAsObject(int i)
ArgList
getArgAsObject
in interface ArgList
public java.lang.String getKeyword(int i)
ArgList
getKeyword
in interface ArgList
public int findKeyword(java.lang.String key)
ArgList
findKeyword
in interface ArgList
key
- an interned stringpublic int numArguments()
ArgList
numArguments
in interface ArgList
public int numKeywords()
numKeywords
in interface ArgList
public int firstKeyword()
firstKeyword
in interface ArgList
public int size()
Sequence
public java.lang.Object get(int index)
Sequence