public enum Binary extends Enum<Binary> implements org.refcodes.mixin.ValueAccessor<Integer>
Enum Constant and Description |
---|
BITS_PER_BYTE |
BITS_PER_INT |
BYTES_PER_INT |
BYTES_PER_LONG |
Modifier and Type | Method and Description |
---|---|
Integer |
getValue() |
static Binary |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Binary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Binary BYTES_PER_INT
public static final Binary BYTES_PER_LONG
public static final Binary BITS_PER_BYTE
public static final Binary BITS_PER_INT
public static Binary[] values()
for (Binary c : Binary.values()) System.out.println(c);
public static Binary valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.