T
- the type of elements returned by Spliterator.public interface Spliterator<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
Spliterator.OfDouble
See
the official Java API doc for details.
|
static interface |
Spliterator.OfInt
See
the official Java API doc for details.
|
static interface |
Spliterator.OfLong
See
the official Java API doc for details.
|
static interface |
Spliterator.OfPrimitive<T,C,S extends Spliterator.OfPrimitive<T,C,S>>
See
the official Java API doc for details.
|
Modifier and Type | Field and Description |
---|---|
static int |
CONCURRENT |
static int |
DISTINCT |
static int |
IMMUTABLE |
static int |
NONNULL |
static int |
ORDERED |
static int |
SIZED |
static int |
SORTED |
static int |
SUBSIZED |
Modifier and Type | Method and Description |
---|---|
int |
characteristics() |
long |
estimateSize() |
default void |
forEachRemaining(Consumer<? super T> consumer) |
default Comparator<? super T> |
getComparator() |
default long |
getExactSizeIfKnown() |
default boolean |
hasCharacteristics(int characteristics) |
boolean |
tryAdvance(Consumer<? super T> consumer) |
Spliterator<T> |
trySplit() |
static final int DISTINCT
static final int ORDERED
static final int NONNULL
static final int CONCURRENT
static final int SORTED
static final int SIZED
static final int IMMUTABLE
static final int SUBSIZED
int characteristics()
long estimateSize()
default Comparator<? super T> getComparator()
default long getExactSizeIfKnown()
default boolean hasCharacteristics(int characteristics)
Spliterator<T> trySplit()
Copyright © 2018. All rights reserved.