public static enum FileHeader.PointerSize extends java.lang.Enum<FileHeader.PointerSize>
Enum Constant and Description |
---|
POINTER_SIZE_32BIT |
POINTER_SIZE_64BIT |
Modifier and Type | Method and Description |
---|---|
static FileHeader.PointerSize |
decode(int code) |
static FileHeader.PointerSize |
from(int pointerSize) |
int |
getSize() |
static FileHeader.PointerSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileHeader.PointerSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileHeader.PointerSize POINTER_SIZE_32BIT
public static final FileHeader.PointerSize POINTER_SIZE_64BIT
public static FileHeader.PointerSize[] values()
for (FileHeader.PointerSize c : FileHeader.PointerSize.values()) System.out.println(c);
public static FileHeader.PointerSize 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 static FileHeader.PointerSize decode(int code)
public int getSize()
public static FileHeader.PointerSize from(int pointerSize)