code: public void trim() {
      keys = Arrays.copyOf(keys, size);
      values = Arrays.copyOf(values, size);
      for (MappeableContainer c : values) {
        c.trim();
      }
    }
docs: If possible, recover wasted memory.