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