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
@@ -21,6 +21,7 @@ package net.openhft.chronicle.set;
import net.openhft.chronicle.hash.KeyContext;
import net.openhft.chronicle.hash.serialization.internal.DummyValue;
import net.openhft.chronicle.map.ChronicleMap;
import org.jetbrains.annotations.NotNull;
import java.io.File;
import java.io.IOException;
@@ -131,6 +132,13 @@ class SetFromMap<E> extends AbstractSet<E>
return m.keyClass();
}
@NotNull
@Override
public ExternalSetQueryContext<E, ?> queryContext(E key) {
//TODO
return null;
}
@Override
public boolean forEachEntryWhile(Predicate<? super KeyContext<E>> predicate) {
return m.forEachEntryWhile(predicate);