public static final class Key.ComplexKey
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Key.ComplexKey |
add(java.lang.Boolean... booleanKeys)
Add one or more booleans to the complex key.
|
Key.ComplexKey |
add(java.lang.Number... numberKeys)
Add one or more numbers to the complex key.
|
Key.ComplexKey |
add(java.lang.String... stringKeys)
Add one or more strings to the complex key.
|
Key.ComplexKey |
addHighSentinel()
Add the high key sentinel value, which is guaranteed to sort last, to the complex key.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toJson() |
public Key.ComplexKey add(java.lang.String... stringKeys)
stringKeys
- string values to addpublic Key.ComplexKey add(java.lang.Boolean... booleanKeys)
booleanKeys
- boolean values to addpublic Key.ComplexKey add(java.lang.Number... numberKeys)
numberKeys
- numerical values to addpublic Key.ComplexKey addHighSentinel()
add()
will throw an IllegalStateException
.public java.lang.String toJson()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object