/** * Constructor. * @param set_bits integer representation of the bits which are set * @param value_bits integer representation of the value bits */ public APMonom(int set_bits, int value_bits) { //added by ly bits_set = new SimpleBitSet(); bits_value = new SimpleBitSet(); bits_set.set(set_bits); bits_value.set(value_bits); }
/** * Constructor. */ public APMonom() { //added by ly bits_set = new SimpleBitSet(); bits_value = new SimpleBitSet(); //APMonmType = APMonmType.TRUE; bits_set.set(0); bits_value.set(0); }
/** Copy constructor */ public APElement(SimpleBitSet sbs) : base(sbs.bitset) { }