/** * 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); }
/** * Constructor. * @param set_bits integer representation of the bits which are set * @param value_bits integer representation of the value bits */ public void SetAPMonom(APMonom AP) { //APMonmType = AP.APMonmType; bits_set.set(AP.bits_set.bitset); bits_value.set(AP.bits_value.bitset); }