com.github.junrar.unpack.vm
Enum VMOpType

java.lang.Object
  extended by java.lang.Enum<VMOpType>
      extended by com.github.junrar.unpack.vm.VMOpType
All Implemented Interfaces:
Serializable, Comparable<VMOpType>

public enum VMOpType
extends Enum<VMOpType>

DOCUMENT ME

Version:
$LastChangedRevision$
Author:
$LastChangedBy$

Enum Constant Summary
VM_OPINT
           
VM_OPNONE
           
VM_OPREG
           
VM_OPREGMEM
           
 
Method Summary
 boolean equals(int opType)
           
static VMOpType findOpType(int opType)
           
 int getOpType()
           
static VMOpType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VMOpType[] 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

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
Method Detail

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.