Example #1
0
 @Override
 public void setInteger(final long f) {
   set(f >= 1);
 }
Example #2
0
 @Override
 public void setBigInteger(final BigInteger b) {
   set(b.compareTo(BigInteger.ZERO) > 0);
 }
 @Override
 public BoolType get() {
   type.set(contains.contains(this));
   return type;
 }