Modifier and Type | Method and Description |
---|---|
int |
byteCount() |
java.lang.String |
ext() |
int |
msb() |
static Size |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Size Byte
public static final Size Word
public static final Size Long
public static final Size Unsized
public static Size[] values()
for (Size c : Size.values()) System.out.println(c);
public static Size 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 final int byteCount()
public final java.lang.String ext()
public final int msb()