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.Object
other
- object to be comparedpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static KeyState toKeyState(java.lang.String state)
state
- state in string-representation