public final class KeyState
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static KeyState |
ANY
Request state.
|
static KeyState |
INVALID |
static KeyState |
VALID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other)
Checks if the given object equals to this object.
|
int |
hashCode()
Returns the hash code.
|
static KeyState |
toKeyState(java.lang.String state)
Converts a string into a key state object.
|
java.lang.String |
toString()
Return the string-representation of this object.
|
public static final KeyState ANY
public static final KeyState VALID
public static final KeyState INVALID
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - object to be comparedpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static KeyState toKeyState(java.lang.String state)
state - state in string-representation