Class AbstractRandomization

    • Constructor Detail

      • AbstractRandomization

        public AbstractRandomization()
    • Method Detail

      • check

        protected <T> String check​(List<Binnable<T>> data)
        Check method before performing randomization.
        Parameters:
        data - the data to check
        Returns:
        null if checks passed, otherwise error message
      • doRandomize

        protected abstract <T> List<Binnable<T>> doRandomize​(List<Binnable<T>> data)
        Randomizes the data.
        Type Parameters:
        T - the payload type
        Parameters:
        data - the data to randomize
        Returns:
        the randomized data