Class AbstractCompoundFilter<T>

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

    public abstract class AbstractCompoundFilter<T>
    extends java.lang.Object
    implements Filter<T>
    A base class for Filters which implements behavior using a List of other Filters.
    • Field Detail

      • filters

        protected java.util.List<Filter<T>> filters
    • Constructor Detail

      • AbstractCompoundFilter

        public AbstractCompoundFilter()
      • AbstractCompoundFilter

        public AbstractCompoundFilter​(Filter<T>... filters)
    • Method Detail

      • getFilters

        public java.util.List<Filter<T>> getFilters()
      • setFilters

        public void setFilters​(java.util.List<Filter<T>> filters)
      • addFilter

        public void addFilter​(Filter<T> filter)
      • getOperator

        protected abstract java.lang.String getOperator()
      • toString

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