diff --git a/src/main/java/net/openhft/chronicle/map/MapContext.java b/src/main/java/net/openhft/chronicle/map/MapContext.java index 3dd70430b..1743f990c 100644 --- a/src/main/java/net/openhft/chronicle/map/MapContext.java +++ b/src/main/java/net/openhft/chronicle/map/MapContext.java @@ -19,7 +19,7 @@ package net.openhft.chronicle.map; import net.openhft.chronicle.bytes.BytesStore; import net.openhft.chronicle.hash.ChronicleHash; import net.openhft.chronicle.hash.Data; -import net.openhft.chronicle.hash.HashContext; +import net.openhft.chronicle.set.SetContext; /** * Context, in which {@link MapEntry MapEntries} are accessed. {@code MapContext} allows to access @@ -36,7 +36,7 @@ import net.openhft.chronicle.hash.HashContext; * @param the return type of {@link MapEntryOperations} specified for the queried map */ public interface MapContext - extends HashContext, MapEntryOperations, DefaultValueProvider { + extends SetContext, MapEntryOperations, DefaultValueProvider { /** * Returns the accessed {@code ChronicleMap}. Synonym to {@link #map()}. */ diff --git a/src/main/java/net/openhft/chronicle/map/MapEntry.java b/src/main/java/net/openhft/chronicle/map/MapEntry.java index 908ec34fb..505891569 100644 --- a/src/main/java/net/openhft/chronicle/map/MapEntry.java +++ b/src/main/java/net/openhft/chronicle/map/MapEntry.java @@ -17,7 +17,7 @@ package net.openhft.chronicle.map; import net.openhft.chronicle.hash.Data; -import net.openhft.chronicle.hash.HashEntry; +import net.openhft.chronicle.set.SetEntry; import org.jetbrains.annotations.NotNull; /** @@ -28,7 +28,7 @@ import org.jetbrains.annotations.NotNull; * @see MapEntryOperations * @see MapQueryContext#entry() */ -public interface MapEntry extends HashEntry { +public interface MapEntry extends SetEntry { @Override @NotNull MapContext context();