public class RepeatingGenerator<T> extends Object implements CopyableGenerator<T>
LAMBDA_SEED_HINT| Modifier | Constructor and Description |
|---|---|
protected |
RepeatingGenerator(RepeatingGenerator<T> src) |
|
RepeatingGenerator(Template<? extends T>[] templates) |
| Modifier and Type | Method and Description |
|---|---|
RepeatingGenerator<T> |
copy() |
Class<T> |
getValueType()
Returns the type of values produced/contained by this instance.
|
T |
next()
Produces next value.
|
long |
randomSeedHint() |
static <T> RepeatingGenerator<T> |
repeat(DataSource<? extends T>... sources) |
StringBuilder |
toString(StringBuilder sb) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsnapshotaggregate, aggregate, all, alternateWith, any, any, cached, distinct, fetch, few, filter, flatMap, fluentData, many, map, map, mixWith, next, next, next, one, peek, several, shuffle, shuffle, some, split, split, stream, then, three, toGenerator, transform, two, withrepeat, transformSourcetoGenerators, toGeneratorsprotected RepeatingGenerator(RepeatingGenerator<T> src)
public static <T> RepeatingGenerator<T> repeat(DataSource<? extends T>... sources)
public RepeatingGenerator<T> copy()
copy in interface CopyableGenerator<T>public Class<T> getValueType()
Typednull if the type is unknown;
should never return a primitive type.getValueType in interface FlDataSource<T>getValueType in interface Typed<T>public long randomSeedHint()
randomSeedHint in interface FlGenerator<T>public StringBuilder toString(StringBuilder sb)
Copyright © 2019. All rights reserved.