|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number lib.dwfl.DwDs
public class DwDs
Field Summary | |
---|---|
private static Map |
enumMap
|
private String |
enumName
|
private String |
enumPrint
|
private String |
enumString
|
private int |
enumValue
|
static DwDs |
LEADING_OVERPUNCH
|
static int |
LEADING_OVERPUNCH_
|
static DwDs |
LEADING_SEPARATE
|
static int |
LEADING_SEPARATE_
|
(package private) static long |
serialVersionUID
|
static DwDs |
TRAILING_OVERPUNCH
|
static int |
TRAILING_OVERPUNCH_
|
static DwDs |
TRAILING_SEPARATE
|
static int |
TRAILING_SEPARATE_
|
static DwDs |
UNSIGNED
|
static int |
UNSIGNED_
|
Constructor Summary | |
---|---|
private |
DwDs(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 DwDs 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 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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final String enumString
private final int enumValue
private final String enumPrint
private final String enumName
public static final int UNSIGNED_
public static final DwDs UNSIGNED
public static final int LEADING_OVERPUNCH_
public static final DwDs LEADING_OVERPUNCH
public static final int TRAILING_OVERPUNCH_
public static final DwDs TRAILING_OVERPUNCH
public static final int LEADING_SEPARATE_
public static final DwDs LEADING_SEPARATE
public static final int TRAILING_SEPARATE_
public static final DwDs TRAILING_SEPARATE
private static Map enumMap
static final long serialVersionUID
Constructor Detail |
---|
private DwDs(int value, String string, String print, String name)
Method Detail |
---|
public String toString()
toString
in class Object
public String toPrint()
public String toName()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(Object o)
compareTo
in interface Comparable
private static Map getMap()
public static DwDs valueOf(String string)
public static DwDs valueOf(long i)
public static DwDs[] values()
public static String toString(long i)
public static String toPrintString(long i)
public static String toPrintString(long i, String def)
public static String toName(long i)
public static String toName(long i, String def)
public int intValue()
intValue
in class Number
public long longValue()
longValue
in class Number
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |