예제 #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>();
 }