Ejemplo n.º 1
0
  public Index clone() {
    try {
      Index clone = (Index) super.clone();
      clone.table = this.table.clone();

      Entry list[], table[][] = clone.table;
      for (int cc = 0, len = this.size; cc < len; cc++) {
        list = table[cc];
        if (null != list) table[cc] = list.clone();
      }
      return clone;
    } catch (CloneNotSupportedException exc) {
      throw new InternalError(exc.toString());
    }
  }