|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.AbstractEnumeratedType
org.vizzini.util.DefaultEnumeratedType
public class DefaultEnumeratedType
Provides a default implementation of an enumerated type.
Constructor Summary | |
---|---|
DefaultEnumeratedType(String name)
Construct this object. |
Method Summary | |
---|---|
static DefaultEnumeratedType |
get(int i)
Get the type which corresponds to the given integer. |
static int |
getSize()
Return the number of enumerated values. |
static DefaultEnumeratedType |
valueOf(String name)
Get the type which corresponds to the given string. |
Methods inherited from class org.vizzini.util.AbstractEnumeratedType |
---|
compareTo, equals, getDisplayName, getName, hashCode, intValue, setOrdinal, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultEnumeratedType(String name)
name
- Enumeration name.Method Detail |
---|
public static final int getSize()
public static DefaultEnumeratedType get(int i)
i
- Enumeration index.public static DefaultEnumeratedType valueOf(String name)
name
- Enumeration name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |