Modifier and Type | Field and Description |
---|---|
static SequenceType |
SINGLE_ARRAY_TYPE |
Modifier and Type | Method and Description |
---|---|
ArrayItem |
concat(ArrayItem other)
Concatenate this array with another
|
Sequence |
get(int index)
Get a member of the array
|
List<Sequence> |
getMembers()
Get a list of the members of the array
|
SequenceType |
getMemberType()
Get the lowest common item type of the members of the array
|
boolean |
isEmpty()
Ask whether the array is empty
|
Iterator<Sequence> |
iterator()
Get the list of all members of the array
|
ArrayItem |
remove(int index)
Remove a member from the array
|
int |
size()
Get the size of the array
|
call, deepEquals, export, getArity, getDescription, getFunctionItemType, getFunctionName, getOperandRoles, isArray, isMap, iterate
atomize, getStringValue, getStringValueCS, head
effectiveBooleanValue, getLength, getStringValue, getStringValueCS, head, itemAt, reduce, subsequence
static final SequenceType SINGLE_ARRAY_TYPE
Sequence get(int index) throws XPathException
index
- the position of the member to retrieve (zero-based)XPathException
- if the index is out of rangeint size()
boolean isEmpty()
ArrayItem concat(ArrayItem other)
other
- the second arrayArrayItem remove(int index) throws XPathException
index
- the position of the member to be removed (zero-based)XPathException
- if the index is out of rangeSequenceType getMemberType()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.