SPI implementation

This commit is contained in:
leventov
2015-05-27 00:03:20 +01:00
parent 8e4027da08
commit b4c8554b77
111 changed files with 13637 additions and 3991 deletions
@@ -0,0 +1,16 @@
package net.openhft.chronicle.set;
import org.jetbrains.annotations.NotNull;
public interface SetEntryOperations<K, R> {
default R remove(@NotNull SetEntry<K> entry) {
entry.doRemove();
return null;
}
default R insert(@NotNull SetAbsentEntry<K> entry) {
entry.doInsert();
return null;
}
}