public final class ContextKey<T> extends Object
| Constructor and Description |
|---|
ContextKey() |
| Modifier and Type | Method and Description |
|---|---|
static ContextKey<Boolean> |
bool(String key) |
static ContextKey<Integer> |
integer(String key) |
static <T> ContextKey<T> |
of(Class<T> key) |
static <T> ContextKey<T> |
of(String key) |
static ContextKey<String> |
string(String key) |
public static <T> ContextKey<T> of(String key)
public static <T> ContextKey<T> of(Class<T> key)
public static ContextKey<String> string(String key)
public static ContextKey<Integer> integer(String key)
public static ContextKey<Boolean> bool(String key)
Copyright © 2016–2021. All rights reserved.