lib.dwfl
Class DwInl

java.lang.Object
  extended by java.lang.Number
      extended by lib.dwfl.DwInl
All Implemented Interfaces:
Serializable, Comparable

public class DwInl
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static DwInl DECLARED_INLINED
           
static int DECLARED_INLINED_
           
static DwInl DECLARED_NOT_INLINED
           
static int DECLARED_NOT_INLINED_
           
private static Map enumMap
           
private  String enumName
           
private  String enumPrint
           
private  String enumString
           
private  int enumValue
           
static DwInl INLINED
           
static int INLINED_
           
static DwInl NOT_INLINED
           
static int NOT_INLINED_
           
(package private) static long serialVersionUID
           
 
Constructor Summary
private DwInl(int value, String string, String print, String name)
           
 
Method Summary
 int compareTo(Object o)
           
 double doubleValue()
          Return the equivalent of the enum.
 boolean equals(Object o)
          Return true if OBJECT has the same value.
 float floatValue()
          Return the equivalent of the enum.
private static Map getMap()
          Create a HashMap containing all the DwInl elements.
 int hashCode()
           
 int intValue()
          Return the equivalent of the enum.
 long longValue()
          Return the equivalent of the enum.
 String toName()
          Return the name of just the enum.
static String toName(long i)
          Returns just the name part of the num corresponding to I.
static String toName(long i, String def)
          Returns just the name part of the num corresponding to I, or DEF is there is no such field.
 String toPrint()
          Return a printable version of the enum.
static String toPrintString(long i)
          Returns the printable (or user readable) name for the field corresponding to the value I.
static String toPrintString(long i, String def)
          Returns the printable (or user readable) name for the field corresponding to the value I, or DEF is there is no such field.
 String toString()
          Return the qualified name of the enum.
static String toString(long i)
          Returns the full underscore delimited name of the field corresponding to the value I.
static DwInl valueOf(long i)
          Return the DwInl object that matches the integer.
static DwInl valueOf(String string)
          Return the DwInl object that matches the string.
static DwInl[] values()
          Return an array of all the DwInl elements.
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

enumString

private final String enumString

enumValue

private final int enumValue

enumPrint

private final String enumPrint

enumName

private final String enumName

NOT_INLINED_

public static final int NOT_INLINED_
See Also:
Constant Field Values

NOT_INLINED

public static final DwInl NOT_INLINED

INLINED_

public static final int INLINED_
See Also:
Constant Field Values

INLINED

public static final DwInl INLINED

DECLARED_NOT_INLINED_

public static final int DECLARED_NOT_INLINED_
See Also:
Constant Field Values

DECLARED_NOT_INLINED

public static final DwInl DECLARED_NOT_INLINED

DECLARED_INLINED_

public static final int DECLARED_INLINED_
See Also:
Constant Field Values

DECLARED_INLINED

public static final DwInl DECLARED_INLINED

enumMap

private static Map enumMap

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

DwInl

private DwInl(int value,
              String string,
              String print,
              String name)
Method Detail

toString

public String toString()
Return the qualified name of the enum.

Overrides:
toString in class Object

toPrint

public String toPrint()
Return a printable version of the enum.


toName

public String toName()
Return the name of just the enum.


equals

public boolean equals(Object o)
Return true if OBJECT has the same value.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getMap

private static Map getMap()
Create a HashMap containing all the DwInl elements.


valueOf

public static DwInl valueOf(String string)
Return the DwInl object that matches the string.


valueOf

public static DwInl valueOf(long i)
Return the DwInl object that matches the integer.


values

public static DwInl[] values()
Return an array of all the DwInl elements.


toString

public static String toString(long i)
Returns the full underscore delimited name of the field corresponding to the value I.


toPrintString

public static String toPrintString(long i)
Returns the printable (or user readable) name for the field corresponding to the value I.


toPrintString

public static String toPrintString(long i,
                                   String def)
Returns the printable (or user readable) name for the field corresponding to the value I, or DEF is there is no such field.


toName

public static String toName(long i)
Returns just the name part of the num corresponding to I.


toName

public static String toName(long i,
                            String def)
Returns just the name part of the num corresponding to I, or DEF is there is no such field.


intValue

public int intValue()
Return the equivalent of the enum.

Specified by:
intValue in class Number

longValue

public long longValue()
Return the equivalent of the enum.

Specified by:
longValue in class Number

floatValue

public float floatValue()
Return the equivalent of the enum.

Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Return the equivalent of the enum.

Specified by:
doubleValue in class Number