Module openj9.dtfj

Class AlgorithmPicker<T extends IAlgorithm>


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

      • AlgorithmPicker

        protected AlgorithmPicker​(String algorithmId)
    • Method Detail

      • pickAlgorithm

        public T pickAlgorithm()
      • allAlgorithms

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