public static final class PerThreadCache.Key<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <T> PerThreadCache.Key<T> |
create(java.lang.Class<T> clazz,
java.lang.Object... identifiers)
Returns a key based on the value's class and a set of identifiers that uniquely identify the
value.
|
static <T> PerThreadCache.Key<T> |
create(java.lang.Class<T> clazz,
java.lang.Object identifier)
Returns a key based on the value's class and an identifier that uniquely identify the value.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public static <T> PerThreadCache.Key<T> create(java.lang.Class<T> clazz, java.lang.Object identifier)
equals()
and .public static <T> PerThreadCache.Key<T> create(java.lang.Class<T> clazz, java.lang.Object... identifiers)
equals()
and .public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object