public enum IntegerVariableInitializer extends java.lang.Enum<IntegerVariableInitializer>
IntegerVariableInitializer
defines strategies for initializing integer variables.Modifier and Type | Method and Description |
---|---|
abstract java.math.BigInteger |
getValue(int width) |
static IntegerVariableInitializer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntegerVariableInitializer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntegerVariableInitializer ZEROS
public static final IntegerVariableInitializer UNITS
public static final IntegerVariableInitializer RANDOM
public static IntegerVariableInitializer[] values()
for (IntegerVariableInitializer c : IntegerVariableInitializer.values()) System.out.println(c);
public static IntegerVariableInitializer valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.math.BigInteger getValue(int width)