lib.dwfl
Class DwDs

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

public class DwDs
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static DwDs LEADING_OVERPUNCH
           
static int LEADING_OVERPUNCH_
           
static DwDs LEADING_SEPARATE
           
static int LEADING_SEPARATE_
           
static DwDs TRAILING_OVERPUNCH
           
static int TRAILING_OVERPUNCH_
           
static DwDs TRAILING_SEPARATE
           
static int TRAILING_SEPARATE_
           
static DwDs UNSIGNED
           
static int UNSIGNED_
           
 
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.
 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 DwDs valueOf(long i)
          Return the DwDs object that matches the integer.
static DwDs valueOf(String string)
          Return the DwDs object that matches the string.
static DwDs[] values()
          Return an array of all the DwDs elements.
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSIGNED_

public static final int UNSIGNED_
See Also:
Constant Field Values

UNSIGNED

public static final DwDs UNSIGNED

LEADING_OVERPUNCH_

public static final int LEADING_OVERPUNCH_
See Also:
Constant Field Values

LEADING_OVERPUNCH

public static final DwDs LEADING_OVERPUNCH

TRAILING_OVERPUNCH_

public static final int TRAILING_OVERPUNCH_
See Also:
Constant Field Values

TRAILING_OVERPUNCH

public static final DwDs TRAILING_OVERPUNCH

LEADING_SEPARATE_

public static final int LEADING_SEPARATE_
See Also:
Constant Field Values

LEADING_SEPARATE

public static final DwDs LEADING_SEPARATE

TRAILING_SEPARATE_

public static final int TRAILING_SEPARATE_
See Also:
Constant Field Values

TRAILING_SEPARATE

public static final DwDs TRAILING_SEPARATE
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

valueOf

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


valueOf

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


values

public static DwDs[] values()
Return an array of all the DwDs 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