Package org.basex.query.value.seq.tree
Class BigSeq
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.seq.Seq
org.basex.query.value.seq.tree.TreeSeq
org.basex.query.value.seq.tree.BigSeq
A sequence containing more elements than fit into a
SmallSeq.- Author:
- BaseX Team 2005-21, BSD License, Leo Woerteler
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionConcatenates this sequence with another one.insert(long pos, Item item, QueryContext qc) Inserts an item at the given position into this sequence and returns the resulting sequence.itemAt(long index) Returns the item at the given position in the value.iter()Returns an iterator.iterator(long start) Iterator over the members of this sequence.remove(long pos, QueryContext qc) Removes the item at the given position in this sequence and returns the resulting sequence.reverse(QueryContext qc) Returns all items of this value in reverse order.protected SeqsubSeq(long offset, long length, QueryContext qc) Returns a sub sequence of this value with the given start and length.Methods inherited from class org.basex.query.value.seq.tree.TreeSeq
atomSize, atomValue, cache, copyInsert, ebv, iteratorMethods inherited from class org.basex.query.value.seq.Seq
ddo, description, equals, get, hash, initialCapacity, insertBefore, item, plan, plan, refineType, seqType, size, subsequence, test, toErrorString, toJavaMethods inherited from class org.basex.query.value.Value
accept, checkUp, compile, copy, count, exprSize, has, inline, inlineable, isEmpty, isItem, iter, materialize, serialize, serialize, serialize, valueMethods inherited from class org.basex.query.expr.Expr
arg, args, atomItem, atomIter, data, data, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAllMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
itemAt
Description copied from class:ValueReturns the item at the given position in the value. The specified value must be lie within the valid bounds. -
reverse
Description copied from class:ValueReturns all items of this value in reverse order. -
insert
Description copied from class:SeqInserts an item at the given position into this sequence and returns the resulting sequence. -
remove
Description copied from class:SeqRemoves the item at the given position in this sequence and returns the resulting sequence. -
subSeq
Description copied from class:SeqReturns a sub sequence of this value with the given start and length. -
concat
Description copied from class:TreeSeqConcatenates this sequence with another one. Running time: O(log (min { this.size(), other.size() })) -
iterator
Description copied from class:TreeSeqIterator over the members of this sequence.- Specified by:
iteratorin classTreeSeq- Parameters:
start- starting position (i.e. the position initially returned byListIterator.nextIndex())- Returns:
- array over the array members
-
iter
Description copied from class:ValueReturns an iterator.
-