|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Options.IntEncoding>
kodkod.engine.config.Options.IntEncoding
public static enum Options.IntEncoding
Integer encoding options for the translation of
int expressions
.
Enum Constant Summary | |
---|---|
TWOSCOMPLEMENT
Two's-complement encoding of integers supports comparisons, addition, subtraction, multiplication, division, and all low-level bit operations (shifting, and, or, not, etc.). |
Method Summary | |
---|---|
(package private) abstract int |
maxAllowedBitwidth()
Returns the maximum bitwidth allowed by this encoding. |
(package private) abstract kodkod.util.ints.IntRange |
range(int bitwidth)
Returns the range of integers representable with this encoding using the given number of bits. |
static Options.IntEncoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Options.IntEncoding[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Options.IntEncoding TWOSCOMPLEMENT
Method Detail |
---|
public static Options.IntEncoding[] values()
for (Options.IntEncoding c : Options.IntEncoding.values()) System.out.println(c);
public static Options.IntEncoding 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 name
java.lang.NullPointerException
- if the argument is nullabstract int maxAllowedBitwidth()
abstract kodkod.util.ints.IntRange range(int bitwidth)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |