@Override
  public int enumerate(@Nullable String value) {
    checkNotClosed();

    Object2IntMap<String> valueToIdLocal = valueToId;
    int id = valueToIdLocal.getInt(value);
    if (id != valueToIdLocal.defaultReturnValue()) {
      return id;
    }

    return insertNewValue(value);
  }
@Override
  public int enumerate(@Nullable String value)