public class Key
extends java.lang.Object
Provides static utilities for generating
Key.ComplexKey
instances.
Provides access to
Key.Type
.
Modifier and Type | Class and Description |
---|---|
static class |
Key.ComplexKey
Provides methods for adding values to build a complex key array.
|
static class |
Key.ComplexKeyDeserializer
GSON deserializer to convert JSON arrays to
.ComplexKey |
static class |
Key.Type<T>
Key type identifier.
|
Constructor and Description |
---|
Key() |
Modifier and Type | Method and Description |
---|---|
static Key.ComplexKey |
complex(java.lang.Boolean... booleanKeys)
Create a new complex key with one or more boolean elements at the start
|
static Key.ComplexKey |
complex(java.lang.Number... numberKeys)
Create a new complex key with one or more numerical elements at the start
|
static Key.ComplexKey |
complex(java.lang.String... stringKeys)
Create a new complex key with one or more string elements at the start
|
public static Key.ComplexKey complex(java.lang.Boolean... booleanKeys)
booleanKeys
- boolean values to addpublic static Key.ComplexKey complex(java.lang.Number... numberKeys)
numberKeys
- numerical values to addpublic static Key.ComplexKey complex(java.lang.String... stringKeys)
stringKeys
- string values to add