public interface SelectFSs<T extends FeatureStructure> extends Iterable<T>, java.util.stream.Stream<T>
java.util.stream.Stream.Builder<T>
Modifier and Type | Method and Description |
---|---|
SelectFSs<T> |
allViews() |
SelectFSs<T> |
allViews(boolean allViews) |
<N extends T> |
asArray(Class<N> clazz) |
<N extends T> |
asList() |
SelectFSs<T> |
at(AnnotationFS fs) |
SelectFSs<T> |
at(int begin,
int end) |
SelectFSs<T> |
backwards() |
SelectFSs<T> |
backwards(boolean backwards) |
SelectFSs<T> |
between(AnnotationFS fs1,
AnnotationFS fs2) |
SelectFSs<T> |
coveredBy(AnnotationFS fs) |
SelectFSs<T> |
coveredBy(int begin,
int end) |
SelectFSs<T> |
covering(AnnotationFS fs) |
SelectFSs<T> |
covering(int begin,
int end) |
SelectFSs<T> |
following(int begin,
int end) |
SelectFSs<T> |
following(int begin,
int end,
int offset) |
SelectFSs<T> |
following(TOP fs) |
SelectFSs<T> |
following(TOP fs,
int offset) |
default void |
forEach(java.util.function.Consumer<? super T> action) |
FSIterator<T> |
fsIterator() |
T |
get() |
T |
get(int offset) |
T |
get(int begin,
int end) |
T |
get(int begin,
int end,
int offset) |
T |
get(TOP fs) |
T |
get(TOP fs,
int offset) |
SelectFSs<T> |
includeAnnotationsWithEndBeyondBounds() |
SelectFSs<T> |
includeAnnotationsWithEndBeyondBounds(boolean endWithinBounds) |
SelectFSs<T> |
limit(int n) |
SelectFSs<T> |
nonOverlapping() |
SelectFSs<T> |
nonOverlapping(boolean nonOverlapping) |
SelectFSs<T> |
nullOK() |
SelectFSs<T> |
nullOK(boolean nullOk) |
SelectFSs<T> |
orderNotNeeded() |
SelectFSs<T> |
orderNotNeeded(boolean unordered) |
SelectFSs<T> |
positionUsesType() |
SelectFSs<T> |
positionUsesType(boolean positionUsesType) |
SelectFSs<T> |
preceding(int begin,
int end) |
SelectFSs<T> |
preceding(int begin,
int end,
int offset) |
SelectFSs<T> |
preceding(TOP fs) |
SelectFSs<T> |
preceding(TOP fs,
int offset) |
static <U extends FeatureStructure,V extends U> |
select(FSIndex<U> index)
static methods that more effectively capture the generic argument
|
SelectFSs<T> |
shifted(int shiftAmount) |
T |
single() |
T |
single(int offset) |
T |
single(int begin,
int end) |
T |
single(int begin,
int end,
int offset) |
T |
single(TOP fs) |
T |
single(TOP fs,
int offset) |
T |
singleOrNull() |
T |
singleOrNull(int offset) |
T |
singleOrNull(int begin,
int end) |
T |
singleOrNull(int begin,
int end,
int offset) |
T |
singleOrNull(TOP fs) |
T |
singleOrNull(TOP fs,
int offset) |
default Spliterator<T> |
spliterator() |
SelectFSs<T> |
startAt(int begin,
int end) |
SelectFSs<T> |
startAt(int begin,
int end,
int shift) |
SelectFSs<T> |
startAt(TOP fs) |
SelectFSs<T> |
startAt(TOP fs,
int shift) |
SelectFSs<T> |
typePriority() |
SelectFSs<T> |
typePriority(boolean typePriority) |
SelectFSs<T> |
useAnnotationEquals() |
SelectFSs<T> |
useAnnotationEquals(boolean useAnnotationEquals) |
allMatch, anyMatch, builder, collect, collect, concat, count, distinct, empty, filter, findAny, findFirst, flatMap, flatMapToDouble, flatMapToInt, flatMapToLong, forEachOrdered, generate, iterate, limit, map, mapToDouble, mapToInt, mapToLong, max, min, noneMatch, of, of, peek, reduce, reduce, reduce, skip, sorted, sorted, toArray, toArray
close, isParallel, iterator, onClose, parallel, sequential, unordered
default void forEach(java.util.function.Consumer<? super T> action)
forEach
in interface Iterable<T extends FeatureStructure>
forEach
in interface java.util.stream.Stream<T extends FeatureStructure>
SelectFSs<T> includeAnnotationsWithEndBeyondBounds(boolean endWithinBounds)
SelectFSs<T> at(AnnotationFS fs)
SelectFSs<T> coveredBy(AnnotationFS fs)
SelectFSs<T> covering(AnnotationFS fs)
SelectFSs<T> between(AnnotationFS fs1, AnnotationFS fs2)
FSIterator<T> fsIterator()
T get()
T single()
T singleOrNull()
T get(int offset)
T single(int offset)
T singleOrNull(int offset)
T get(int begin, int end)
T single(int begin, int end)
T singleOrNull(int begin, int end)
T get(int begin, int end, int offset)
T single(int begin, int end, int offset)
T singleOrNull(int begin, int end, int offset)
default Spliterator<T> spliterator()
spliterator
in interface java.util.stream.BaseStream<T extends FeatureStructure,java.util.stream.Stream<T extends FeatureStructure>>
spliterator
in interface Iterable<T extends FeatureStructure>
static <U extends FeatureStructure,V extends U> SelectFSs<V> select(FSIndex<U> index)
U
- generic type of indexV
- generic type of returned selectindex
- -Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.