Class FreqMapPredicator

    • Constructor Detail

      • FreqMapPredicator

        public FreqMapPredicator()
        Constructor for FreqMapPredicator.
        As an empty constructor, null is defaulted for the predicate.
        If null supplied as predicate then apply(FreqMap) will yield a clone of the input map.
      • FreqMapPredicator

        public FreqMapPredicator​(uk.gov.gchq.koryphe.predicate.KoryphePredicate<String> predicate)
        Constructor for FreqMapPredicator.
        If null supplied as predicate then apply(FreqMap) will yield a clone of the input map.
        Parameters:
        predicate - The predicate for keys.
    • Method Detail

      • getPredicate

        public uk.gov.gchq.koryphe.predicate.KoryphePredicate<String> getPredicate()
      • setPredicate

        public void setPredicate​(uk.gov.gchq.koryphe.predicate.KoryphePredicate<String> predicate)