Enum BitVectorVariableInitializer
- java.lang.Object
-
- java.lang.Enum<BitVectorVariableInitializer>
-
- ru.ispras.microtesk.basis.solver.bitvector.BitVectorVariableInitializer
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BitVectorVariableInitializer>
public enum BitVectorVariableInitializer extends java.lang.Enum<BitVectorVariableInitializer>
BitVectorVariableInitializer
defines strategies for initializing bit-vector variables.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ru.ispras.fortress.data.types.bitvector.BitVector
getValue(int width)
static BitVectorVariableInitializer
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BitVectorVariableInitializer[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZEROS
public static final BitVectorVariableInitializer ZEROS
-
UNITS
public static final BitVectorVariableInitializer UNITS
-
RANDOM
public static final BitVectorVariableInitializer RANDOM
-
-
Method Detail
-
values
public static BitVectorVariableInitializer[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BitVectorVariableInitializer c : BitVectorVariableInitializer.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BitVectorVariableInitializer valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public abstract ru.ispras.fortress.data.types.bitvector.BitVector getValue(int width)
-
-