| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TriState>
org.opengts.util.TriState
public enum TriState
Provides various String parsing/format utilities
| Enum Constant Summary | |
|---|---|
FALSE
 | 
|
TRUE
 | 
|
UNKNOWN
 | 
|
| Method Summary | |
|---|---|
 int | 
getIntValue()
Returns the integer value of this instance  | 
 boolean | 
isDefault()
Returns true if this is the default value (UNKNOWN) or this TriState  | 
 boolean | 
isFalse()
Returns true if the value is "False"  | 
 boolean | 
isTrue()
Returns true if the value is "True"  | 
 boolean | 
isUnknown()
Returns true if the value is "Unknown"  | 
 java.lang.String | 
toString()
Returns the String representation of this instance  | 
static TriState | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.  | 
static TriState[] | 
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, valueOf | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Enum Constant Detail | 
|---|
public static final TriState UNKNOWN
public static final TriState FALSE
public static final TriState TRUE
| Method Detail | 
|---|
public static TriState[] values()
for (TriState c : TriState.values()) System.out.println(c);
public static TriState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic int getIntValue()
getIntValue in interface EnumTools.IntValuepublic java.lang.String toString()
toString in class java.lang.Enum<TriState>public boolean isDefault()
public boolean isUnknown()
public boolean isTrue()
public boolean isFalse()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||