diff options
Diffstat (limited to 'model-data/src/main/java/org/eclipse/viatra/solver/data/map/VersionedMapStore.java')
-rw-r--r-- | model-data/src/main/java/org/eclipse/viatra/solver/data/map/VersionedMapStore.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/model-data/src/main/java/org/eclipse/viatra/solver/data/map/VersionedMapStore.java b/model-data/src/main/java/org/eclipse/viatra/solver/data/map/VersionedMapStore.java new file mode 100644 index 00000000..d92e5ad6 --- /dev/null +++ b/model-data/src/main/java/org/eclipse/viatra/solver/data/map/VersionedMapStore.java | |||
@@ -0,0 +1,10 @@ | |||
1 | package org.eclipse.viatra.solver.data.map; | ||
2 | |||
3 | public interface VersionedMapStore<KEY, VALUE> { | ||
4 | |||
5 | public VersionedMap<KEY, VALUE> createMap(); | ||
6 | |||
7 | public VersionedMap<KEY, VALUE> createMap(long state) throws IllegalAccessException; | ||
8 | |||
9 | public DiffCursor<KEY,VALUE> getDiffCursor(long fromState, long toState); | ||
10 | } \ No newline at end of file | ||