Class PredicateFilter<T,​E>

    • Field Detail

      • m_predicate

        protected Predicate<? super E> m_predicate
        The Predicate for filtering extracted values.
    • Constructor Detail

      • PredicateFilter

        public PredicateFilter()
        Deserialization constructor.
      • PredicateFilter

        public PredicateFilter​(Predicate<? super E> predicate)
        Constructs a PredicateFilter.
        Parameters:
        predicate - predicate for testing the value
      • PredicateFilter

        public PredicateFilter​(ValueExtractor<? super T,​? extends E> extractor,
                               Predicate<? super E> predicate)
        Constructs a PredicateFilter.
        Parameters:
        extractor - the ValueExtractor for extracting a value
        predicate - predicate for testing the extracted value
      • PredicateFilter

        public PredicateFilter​(String sMethodName,
                               Predicate<? super E> predicate)
        Constructs a PredicateFilter.
        Parameters:
        sMethodName - the method to extract a value for testing
        predicate - predicate for testing the extracted value