示例#1
0
 public static Unique getInstace() {
   if (instance == null) {
     instance = new Unique();
     instance.uniqueIdStates = new Vector<Long>();
     instance.uniqueIdTransitions = new Vector<Long>();
   }
   return instance;
 }
示例#2
0
 public void setUniqueIdTransitions(Vector<Long> uniqueIdTransitions) {
   instance.uniqueIdTransitions = uniqueIdTransitions;
 }
示例#3
0
 public void setUniqueIdStates(Vector<Long> uniqueIdStates) {
   instance.uniqueIdStates = uniqueIdStates;
 }
示例#4
0
 public void reset() {
   instance = new Unique();
   instance.uniqueIdStates = new Vector<Long>();
   instance.uniqueIdTransitions = new Vector<Long>();
 }