for (Entry ptr = getHead(); ptr != null; ptr = ptr._next) values[i++] = ptr.getValue().copy();
for (Entry ptr = getHead(); ptr != null; ptr = ptr._next) {  values[i++] = ptr.getValue().toValue().copy(); }
  public Value []getValueArray()  {    int size = getSize();    if (size == 0)      return NULL_VALUE_ARRAY;    Value []values = new Value[size];    int i = 0;    for (Entry ptr = getHead(); ptr != null; ptr = ptr._next)      values[i++] = ptr.getValue().copy();    return values;  }