-package org.simantics.graph.store;\r
-\r
-import gnu.trove.map.hash.TIntIntHashMap;\r
-\r
-import java.util.concurrent.Callable;\r
-\r
-public interface IStore {\r
- void map(TIntIntHashMap map);\r
- \r
- static class MapTask implements Callable<Object> {\r
- IStore store;\r
- TIntIntHashMap map; \r
- \r
- public MapTask(IStore store, TIntIntHashMap map) {\r
- this.store = store;\r
- this.map = map;\r
- }\r
-\r
- @Override\r
- public Object call() throws Exception {\r
- store.map(map);\r
- return null;\r
- } \r
- }\r
-}\r
+package org.simantics.graph.store;
+
+import gnu.trove.map.hash.TIntIntHashMap;
+
+import java.util.concurrent.Callable;
+
+public interface IStore {
+ void map(TIntIntHashMap map);
+
+ static class MapTask implements Callable<Object> {
+ IStore store;
+ TIntIntHashMap map;
+
+ public MapTask(IStore store, TIntIntHashMap map) {
+ this.store = store;
+ this.map = map;
+ }
+
+ @Override
+ public Object call() throws Exception {
+ store.map(map);
+ return null;
+ }
+ }
+}