Class AbstractDelegateFilter<T>

  • Type Parameters:
    T - The underlying type on which the filter applies.
    All Implemented Interfaces:
    Direct Known Subclasses:

    public abstract class AbstractDelegateFilter<T>
    extends java.lang.Object
    implements Filter<T>
    A base class for Filters which implements behavior using delegation to an underlying filter.
    • Field Detail

      • filter

        protected Filter<T> filter
    • Constructor Detail

      • AbstractDelegateFilter

        public AbstractDelegateFilter()
      • AbstractDelegateFilter

        public AbstractDelegateFilter​(Filter<T> filter)
    • Method Detail

      • getFilter

        public Filter<T> getFilter()
      • setFilter

        public void setFilter​(Filter<T> filter)
      • filter

        public boolean filter​(T obj)
        Specified by:
        filter in interface Filter<T>
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object