public AtomicPositiveInteger()
 {
     i = new AtomicInteger();
 }
Exemple #2
0
 public PositiveAtomicCounter()
 {
     atom = new AtomicInteger(0);
 }
 public AtomicPositiveInteger(int initialValue)
 {
     i = new AtomicInteger(initialValue);
 }