public abstract class AnonymousSequence<T> extends AbstractStringify implements FlSequence<T>
LAMBDA_SEED_HINTL_NEGATIVE_INDICES, L_UNBOUNDED, NEGATIVE_INDICES, UNBOUNDED| Constructor and Description |
|---|
AnonymousSequence(long length) |
AnonymousSequence(Sequence source) |
AnonymousSequence(Sequence<?> source,
long length) |
AnonymousSequence(Sequence<?> source,
SequenceLength length) |
AnonymousSequence(SequenceLength length) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertInRange(long n) |
Class<T> |
getValueType()
Returns the type of values produced/contained by this instance.
|
long |
length()
Number of elements that can be accessed through
Sequence.value(long);
negative if sequence is unbounded or allows negative indices. |
long |
randomSeedHint() |
StringBuilder |
toString(StringBuilder sb) |
toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalternateWith, first, fluentData, 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, isUnbounded, min, negativeIndices, toLongpublic AnonymousSequence(long length)
public AnonymousSequence(SequenceLength length)
public AnonymousSequence(Sequence source)
public AnonymousSequence(Sequence<?> source, long length)
public AnonymousSequence(Sequence<?> source, SequenceLength length)
public long length()
SequenceLengthSequence.value(long);
negative if sequence is unbounded or allows negative indices.length in interface SequenceLengthprotected void assertInRange(long n)
public Class<T> getValueType()
Typednull if the type is unknown;
should never return a primitive type.getValueType in interface FlDataSource<T>getValueType in interface FlSequence<T>getValueType in interface FlTemplate<T>getValueType in interface Typed<T>public long randomSeedHint()
randomSeedHint in interface FlSequence<T>public StringBuilder toString(StringBuilder sb)
Copyright © 2019. All rights reserved.