Class AlgorithmPicker<T extends IAlgorithm>

java.lang.Object
com.ibm.j9ddr.vm29.j9.AlgorithmPicker<T>

public abstract class AlgorithmPicker<T extends IAlgorithm> extends Object
Class containing the boilerplate code for picking an appropriate algorithm.
  • Constructor Details

    • AlgorithmPicker

      protected AlgorithmPicker(String algorithmId)
  • Method Details

    • pickAlgorithm

      public T pickAlgorithm()
    • allAlgorithms

      protected abstract Iterable<? extends T> allAlgorithms()
      Template method that returns a fresh instance of each algorithm
      Returns: