public static interface Cache.Key
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Instant |
getTime()
The time the key was created to be used by purging functions
|
int |
hashCode()
As much as is reasonably practical, the hashCode method defined
by class
Object does return distinct integers for
distinct objects. |
boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare.true if this object is the same as the obj
argument; false otherwise.hashCode(),
HashMapint hashCode()
Object does return distinct integers for
distinct objects. (The hashCode may or may not be implemented
as some function of an object's memory address at some point
in time.)hashCode in class ObjectObject.equals(java.lang.Object),
System.identityHashCode(java.lang.Object)Instant getTime()
Copyright © 2021. All rights reserved.