code: public OnlineClustering<T> generate() {
          return new StreamingKMeansClustering<T>(
                  alpha, beta, gamma, numClusters, logNumPoints);
      }
docs: Generates a new instance of a {@code StreamingClustering} based on the
  values used to construct this generator.