public abstract class ItemsSequence<T> extends BoundedSequence<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ItemsSequence.FromArray<T> |
static class |
ItemsSequence.FromCollection<T> |
static class |
ItemsSequence.FromRAList<T> |
LAMBDA_SEED_HINTL_NEGATIVE_INDICES, L_UNBOUNDED, NEGATIVE_INDICES, UNBOUNDED| Constructor and Description |
|---|
ItemsSequence() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<?> |
dataForPrinting() |
long |
randomSeedHint() |
static <T> ItemsSequence<T> |
sequence(Class<T> valueType,
Collection<T> data)
Converts a collection into a sequence.
|
static <T> ItemsSequence<T> |
sequence(Collection<T> data)
Converts a collection into a sequence.
|
static <T> ItemsSequence<T> |
sequence(T... data)
Converts an array into a sequence.
|
StringBuilder |
toString(StringBuilder sb) |
isUnbounded, negativeIndicestoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalternateWith, first, fluentData, getValueType, map, map, newGenerator, peek, random, random, random, random, repeat, shuffle, sorted, split, split, stream, then, withaggregate, aggregate, alternateWith, distinct, few, filter, first, first, flatMap, many, map, mixWith, several, shuffle, snapshot, some, then, toGenerator, transform, withall, cached, fetch, one, three, transformSource, twosequence, sequence, sequence, sequence, valuetoGenerators, toGeneratorsisInRange, length, min, toLongpublic static <T> ItemsSequence<T> sequence(T... data)
T - data - public static <T> ItemsSequence<T> sequence(Collection<T> data)
T - data - public static <T> ItemsSequence<T> sequence(Class<T> valueType, Collection<T> data)
T - valueType - data - public long randomSeedHint()
randomSeedHint in interface FlSequence<T>randomSeedHint in class BoundedSequence<T>public StringBuilder toString(StringBuilder sb)
protected abstract Collection<?> dataForPrinting()
Copyright © 2019. All rights reserved.