]> gerrit.simantics Code Review - simantics/platform.git/blob - impl/TableFactory.java
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / impl / TableFactory.java
1 package org.simantics.db.impl;\r
2 \r
3 public class TableFactory  {\r
4     private static TableFactoryI<byte[]> sByteFactory = new ByteFactory();\r
5     public static TableFactoryI<byte[]> getByteFactory() {\r
6         return sByteFactory;\r
7     }\r
8     private static TableFactoryI<int[]> sIntFactory = new IntFactory();\r
9     public static TableFactoryI<int[]> getIntFactory() {\r
10         return sIntFactory;\r
11     }\r
12     private static TableFactoryI<long[]> sLongFactory = new LongFactory();\r
13     public static TableFactoryI<long[]> getLongFactory() {\r
14         return sLongFactory;\r
15     }\r
16 }\r