public static class RandomIntegersGenerator.Template extends AnonymousTemplate<Integer>
| Constructor and Description |
|---|
Template(Distribution distribution,
int start,
int end,
int step,
Long seed) |
| Modifier and Type | Method and Description |
|---|---|
RandomIntegersGenerator.Template |
between(int start,
int end) |
RandomIntegersGenerator.Template |
from(int start) |
Class<Integer> |
getValueType()
Returns the type of values produced/contained by this instance.
|
RandomIntegersGenerator.Template |
lessThan(int end) |
FlGenerator<Integer> |
newGenerator()
Creates a generator.
|
ConsecutiveIntegersSequence |
ordered() |
FlTemplate<Integer> |
random(Distribution distribution) |
FlTemplate<Integer> |
random(Distribution distribution,
long seed) |
FlTemplate<Integer> |
random(long seed) |
FlTemplate<Integer> |
shuffle() |
FlTemplate<Integer> |
shuffle(long seed) |
RandomIntegersGenerator.Template |
step(int step) |
RandomIntegersGenerator.Template |
to(int max) |
toStringtoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregate, aggregate, alternateWith, distinct, few, filter, first, first, first, flatMap, many, map, map, mixWith, peek, several, snapshot, some, split, split, then, toGenerator, transform, withall, cached, fetch, one, repeat, stream, three, transformSource, twofluentData, templatetoGenerators, toGeneratorspublic Template(Distribution distribution, int start, int end, int step, Long seed)
public Class<Integer> getValueType()
Typednull if the type is unknown;
should never return a primitive type.public FlGenerator<Integer> newGenerator()
Templatepublic RandomIntegersGenerator.Template from(int start)
public RandomIntegersGenerator.Template to(int max)
public RandomIntegersGenerator.Template lessThan(int end)
public RandomIntegersGenerator.Template between(int start, int end)
public RandomIntegersGenerator.Template step(int step)
public FlTemplate<Integer> random(Distribution distribution)
public FlTemplate<Integer> random(long seed)
public FlTemplate<Integer> random(Distribution distribution, long seed)
public ConsecutiveIntegersSequence ordered()
public FlTemplate<Integer> shuffle()
public FlTemplate<Integer> shuffle(long seed)
Copyright © 2019. All rights reserved.