public final class CacheKey
extends java.lang.Object
Record
used for normalization in a NormalizedCache
.
If the json object which the Record
corresponds to does not have a suitable
key, return use NO_KEY
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static CacheKey |
from(java.lang.String key) |
int |
hashCode() |
java.lang.String |
key() |
java.lang.String |
toString() |
public static final CacheKey NO_KEY
public static CacheKey from(@NotNull java.lang.String key)
public java.lang.String key()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object