public class OneOrMore<T extends Item<?>> extends SequenceExtent<T>
| Constructor and Description |
|---|
OneOrMore(java.util.List<T> content) |
OneOrMore(T[] content)
Create a sequence containing zero or one items
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Item<?>> |
makeOneOrMore(Sequence<T> sequence) |
asIterable, effectiveBooleanValue, fromIterator, getCardinality, getLength, getStringValue, getStringValueCS, head, itemAt, iterate, iterator, makeResidue, makeSequenceExtent, makeSequenceExtent, reduce, reverseIterate, subsequence, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitmaterialize, toShortStringmakeRepeatablepublic OneOrMore(T[] content)
content - The content of the sequencepublic OneOrMore(java.util.List<T> content)
public static <T extends Item<?>> OneOrMore<T> makeOneOrMore(Sequence<T> sequence) throws XPathException
XPathExceptionCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.