code: public static <T, S extends Sequence<S>> List<Cluster<T>> performClustering(Collection<T> inputObjects,
                                                                                  SequenceExtractor<T, S> sequenceExtractor,
                                                                                  ClusteringStrategy<T, S> strategy) {
          return new Clustering<>(inputObjects, sequenceExtractor, strategy).performClustering();
      }
docs: Helper method. See class description.