mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
25 lines
612 B
Java
25 lines
612 B
Java
package net.openhft.chronicle.set;
|
|
|
|
import net.openhft.chronicle.hash.HashEntry;
|
|
|
|
/**
|
|
* The <i>present</i> {@link ChronicleSet} entry context.
|
|
*
|
|
* @param <K> the set key type
|
|
* @see SetEntryOperations
|
|
* @see SetQueryContext#entry()
|
|
*/
|
|
public interface SetEntry<K> extends HashEntry<K> {
|
|
@Override
|
|
SetContext<K, ?> context();
|
|
|
|
/**
|
|
* Removes the entry from the {@code ChronicleSet}.
|
|
*
|
|
* <p>This method is the default implementation for {@link SetEntryOperations#remove(SetEntry)},
|
|
* which might be customized over the default.
|
|
*/
|
|
@Override
|
|
void doRemove();
|
|
}
|