public interface TestData<T,S extends BaseStream<T,S>> extends Iterable<T>
Modifier and Type | Interface and Description |
---|---|
static class |
TestData.AbstractTestData<T,S extends BaseStream<T,S>,T_STATE,T_SPLITR extends Spliterator<T>> |
static class |
TestData.Factory |
static interface |
TestData.OfDouble |
static interface |
TestData.OfInt |
static interface |
TestData.OfLong |
static interface |
TestData.OfRef<T> |
Modifier and Type | Method and Description |
---|---|
StreamShape |
getShape() |
default <A extends Collection<? super T>> |
into(A target) |
default boolean |
isOrdered() |
default Iterator<T> |
iterator()
Returns an iterator over elements of type
T . |
S |
parallelStream() |
default int |
size() |
Spliterator<T> |
spliterator()
Creates a
Spliterator over the elements described by this
Iterable . |
S |
stream() |
default int size()
default Iterator<T> iterator()
Iterable
T
.Spliterator<T> spliterator()
Iterable
Spliterator
over the elements described by this
Iterable
.spliterator
in interface Iterable<T>
Spliterator
over the elements described by this
Iterable
.default boolean isOrdered()
StreamShape getShape()
default <A extends Collection<? super T>> A into(A target)
S stream()
S parallelStream()