Class FilteringProcessor<T>

  • All Implemented Interfaces:
    Processor<T>

    public class FilteringProcessor<T>
    extends Object
    implements Processor<T>
    Author:
    max
    • Constructor Detail

    • Method Detail

      • process

        public boolean process​(T t)
        Specified by:
        process in interface Processor<T>
        Parameters:
        t - consequently takes value of each element of the set this processor is passed to for processing.
        Returns:
        true to continue processing and false to stop.