public final class ContextKey<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
ID |
private java.lang.Class<T> |
typeClass |
Modifier | Constructor and Description |
---|---|
private |
ContextKey(java.lang.String id,
java.lang.Class<T> c) |
Modifier and Type | Method and Description |
---|---|
static <E> ContextKey<E> |
create(java.lang.String id,
java.lang.Class<E> c) |
boolean |
equals(java.lang.Object o) |
java.lang.Class<T> |
getTypeClass() |
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.String ID
private final java.lang.Class<T> typeClass
private ContextKey(java.lang.String id, java.lang.Class<T> c)
public static <E> ContextKey<E> create(java.lang.String id, java.lang.Class<E> c)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.Class<T> getTypeClass()