public abstract class SimpleKey<T> extends ObjectKey<T>
| Constructor and Description |
|---|
SimpleKey() |
| Modifier and Type | Method and Description |
|---|---|
static NumberKey |
keyFor(BigDecimal key)
Creates an ObjectKey for the key object.
|
static BooleanKey |
keyFor(Boolean key)
Creates an ObjectKey for the key object.
|
static DateKey |
keyFor(Date key)
Creates an ObjectKey for the key object.
|
static DateKey |
keyFor(DateKey key)
Creates an ObjectKey for the key object.
|
static NumberKey |
keyFor(double key)
Creates an ObjectKey for the key object.
|
static NumberKey |
keyFor(int key)
Creates an ObjectKey for the key object.
|
static NumberKey |
keyFor(long key)
Creates an ObjectKey for the key object.
|
static NumberKey |
keyFor(Number key)
Creates an ObjectKey for the key object.
|
static NumberKey |
keyFor(NumberKey key)
Creates an ObjectKey for the key object.
|
static StringKey |
keyFor(String key)
Creates an ObjectKey for the key object.
|
static StringKey |
keyFor(StringKey key)
Creates an ObjectKey for the key object.
|
public static NumberKey keyFor(BigDecimal key)
key - the key value.key.public static NumberKey keyFor(int key)
key - the key value.key.public static NumberKey keyFor(long key)
key - the key value.key.public static NumberKey keyFor(double key)
key - the key value.key.public static NumberKey keyFor(Number key)
key - the key value.key.public static NumberKey keyFor(NumberKey key)
key - the key value.key.public static StringKey keyFor(String key)
key - the key value.key.public static StringKey keyFor(StringKey key)
key - the key value.key.public static DateKey keyFor(Date key)
key - the key value.key.public static DateKey keyFor(DateKey key)
key - the key value.key.public static BooleanKey keyFor(Boolean key)
key - the key value.key.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.