public class ExtraGenerators extends Object
| Modifier and Type | Method and Description |
|---|---|
static <Context extends GeneratorContext<Context>> |
byteRange(byte fromIncluding,
byte toExcluding) |
static <Context extends GeneratorContext<Context>> |
byteRange(int fromIncluding,
int toExcluding) |
static <Context extends GeneratorContext<Context>> |
doubleRange(double fromIncluding,
double toExcluding) |
static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> |
enumName(E... selection) |
static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> |
enumName(PEnumDescriptor<E> descriptor) |
static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> |
enumValue(E... selection) |
static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> |
enumValue(PEnumDescriptor<E> descriptor) |
static <Context extends GeneratorContext<Context>> |
intRange(int fromIncluding,
int toExcluding) |
static <Context extends GeneratorContext<Context>> |
longRange(long fromIncluding,
long toExcluding) |
static <Context extends GeneratorContext<Context>,T> |
oneOf(Collection<T> selection) |
static <Context extends GeneratorContext<Context>,T> |
oneOf(T... selection) |
static <Context extends GeneratorContext<Context>> |
shortRange(int fromIncluding,
int toExcluding) |
static <Context extends GeneratorContext<Context>> |
shortRange(short fromIncluding,
short toExcluding) |
public static <Context extends GeneratorContext<Context>> ByteRangeGenerator<Context> byteRange(int fromIncluding, int toExcluding)
public static <Context extends GeneratorContext<Context>> ByteRangeGenerator<Context> byteRange(byte fromIncluding, byte toExcluding)
public static <Context extends GeneratorContext<Context>> ShortRangeGenerator<Context> shortRange(int fromIncluding, int toExcluding)
public static <Context extends GeneratorContext<Context>> ShortRangeGenerator<Context> shortRange(short fromIncluding, short toExcluding)
public static <Context extends GeneratorContext<Context>> IntRangeGenerator<Context> intRange(int fromIncluding, int toExcluding)
public static <Context extends GeneratorContext<Context>> LongRangeGenerator<Context> longRange(long fromIncluding, long toExcluding)
public static <Context extends GeneratorContext<Context>> DoubleRangeGenerator<Context> doubleRange(double fromIncluding, double toExcluding)
@SafeVarargs public static <Context extends GeneratorContext<Context>,T> OneOfGenerator<Context,T> oneOf(T... selection)
public static <Context extends GeneratorContext<Context>,T> OneOfGenerator<Context,T> oneOf(Collection<T> selection)
@SafeVarargs public static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> EnumValueGenerator<Context,E> enumValue(E... selection)
public static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> EnumValueGenerator<Context,E> enumValue(PEnumDescriptor<E> descriptor)
@SafeVarargs public static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> EnumNameGenerator<Context,E> enumName(E... selection)
public static <Context extends GeneratorContext<Context>,E extends PEnumValue<E>> EnumNameGenerator<Context,E> enumName(PEnumDescriptor<E> descriptor)
Copyright © 2015–2018 morimekta.net. All rights reserved.