T
- The type of the hash table entry that implements this interface.public static interface Cache.Entry<T extends Cache.Entry<T>> extends Comparable<T>
Comparable
interface and defines methods required for the
management of entries in the hash table.Modifier and Type | Method and Description |
---|---|
void |
assume(T entry)
It has the object assume the state of the parameter instance.
|
void |
empty()
It renders the entry empty.
|
long |
hashKey()
Returns a long integer hash code.
|
boolean |
isEmpty()
Determines whether the entry is to be considered void.
|
void |
swap(T entry)
It swaps the states of the object and the parameter instance.
|
compareTo
long hashKey()
boolean isEmpty()
void assume(T entry)
entry
- The entry whose state is to be assumed.void swap(T entry)
entry
- The instance with which the entry on which the method is invoked is supposed to swap states.void empty()
Copyright © 2020. All rights reserved.