core/src/main/java/gnu/trove/TIntObjectHashMap.java [603:653]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    V[] values = _values;
    stopCompactingOnRemove();
    try {
      for (int i = values.length; i-- > 0; ) {
        if (isFull(values, i) && !procedure.execute(keys[i], unwrapNull(values[i]))) {
          removeAt(i);
          modified = true;
        }
      }
    }
    finally {
      startCompactingOnRemove(modified);
    }
    return modified;
  }

  /**
   * Transform the values in this map using <tt>function</tt>.
   *
   * @param function a <code>TObjectFunction</code> value
   */
  public void transformValues(TObjectFunction<V, V> function) {
    V[] values = _values;
    for (int i = values.length; i-- > 0; ) {
      if (isFull(values, i)) {
        values[i] = wrapNull(function.execute(unwrapNull(values[i])));
      }
    }
  }


  private void writeObject(ObjectOutputStream stream)
    throws IOException {
    stream.defaultWriteObject();

    // number of entries
    stream.writeInt(_size);

    SerializationProcedure writeProcedure = new SerializationProcedure(stream);
    if (!forEachEntry(writeProcedure)) {
      throw writeProcedure.exception;
    }
  }

  private void readObject(ObjectInputStream stream)
    throws IOException, ClassNotFoundException {
    stream.defaultReadObject();

    int size = stream.readInt();
    setUp(size);
    while (size-- > 0) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core/src/main/java/gnu/trove/TLongObjectHashMap.java [608:658]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    V[] values = _values;
    stopCompactingOnRemove();
    try {
      for (int i = values.length; i-- > 0; ) {
        if (isFull(values, i) && !procedure.execute(keys[i], unwrapNull(values[i]))) {
          removeAt(i);
          modified = true;
        }
      }
    }
    finally {
      startCompactingOnRemove(modified);
    }
    return modified;
  }

  /**
   * Transform the values in this map using <tt>function</tt>.
   *
   * @param function a <code>TObjectFunction</code> value
   */
  public void transformValues(TObjectFunction<V, V> function) {
    V[] values = _values;
    for (int i = values.length; i-- > 0; ) {
      if (isFull(values, i)) {
        values[i] = wrapNull(function.execute(unwrapNull(values[i])));
      }
    }
  }


  private void writeObject(ObjectOutputStream stream)
    throws IOException {
    stream.defaultWriteObject();

    // number of entries
    stream.writeInt(_size);

    SerializationProcedure writeProcedure = new SerializationProcedure(stream);
    if (!forEachEntry(writeProcedure)) {
      throw writeProcedure.exception;
    }
  }

  private void readObject(ObjectInputStream stream)
    throws IOException, ClassNotFoundException {
    stream.defaultReadObject();

    int size = stream.readInt();
    setUp(size);
    while (size-- > 0) {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



