Exemplo n.º 1
0
 /**
  * Copy for assignment.
  */
 public Value copy()
 {
     if (_copyArray != null)
     {
         return(_copyArray.copy());
     }
     else
     {
         return(_constArray.copy());
     }
 }
Exemplo n.º 2
0
        /**
         * Returns the array keys.
         */
        public override Value getValues()
        {
            if (_values == null)
            {
                _values = new ConstArrayValue((ArrayValueImpl)super.getValues());
            }

            return(_values.copy());
        }
Exemplo n.º 3
0
        /**
         * Returns the array keys.
         */
        public override Value getKeys()
        {
            if (_keys == null)
            {
                _keys = new ConstArrayValue((ArrayValueImpl)super.getKeys());
            }

            return(_keys.copy());
        }