code: public AlphabeticIndex<V> clearRecords() {
          if (inputList != null && !inputList.isEmpty()) {
              inputList.clear();
              buckets = null;
          }
          return this;
      }
docs: Clear the index.
  
  @return this, for chaining