Class Filter<T>

  • Type Parameters:
    T - the type of objects filtered by this Filter

    public abstract class Filter<T>
    extends java.lang.Object
    A Class for generic filters
    • Constructor Detail

      • Filter

        public Filter()
    • Method Detail

      • shouldKeep

        protected abstract boolean shouldKeep​(T item)
      • filter

        public java.lang.Iterable<T> filter​(java.lang.Iterable<T> items)