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