Ejemplo n.º 1
0
        /**
        * 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);
        }
Ejemplo n.º 2
0
        /**
         * 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);
        }
Ejemplo n.º 3
0
 /** Copy constructor */
 public APElement(SimpleBitSet sbs)
     : base(sbs.bitset)
 {
 }