com.github.junrar.unpack.vm
Enum VMOpType
java.lang.Object
java.lang.Enum<VMOpType>
com.github.junrar.unpack.vm.VMOpType
- All Implemented Interfaces:
- Serializable, Comparable<VMOpType>
public enum VMOpType
- extends Enum<VMOpType>
DOCUMENT ME
- Version:
- $LastChangedRevision$
- Author:
- $LastChangedBy$
VM_OPREG
public static final VMOpType VM_OPREG
VM_OPINT
public static final VMOpType VM_OPINT
VM_OPREGMEM
public static final VMOpType VM_OPREGMEM
VM_OPNONE
public static final VMOpType VM_OPNONE
values
public static VMOpType[] 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 (VMOpType c : VMOpType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VMOpType valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getOpType
public int getOpType()
equals
public boolean equals(int opType)
findOpType
public static VMOpType findOpType(int opType)
Copyright © 2012. All Rights Reserved.