Class CompoundFilter<T>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Filter<T>
    Direct Known Subclasses:
    AndFilter

    public abstract class CompoundFilter<T>
    extends java.lang.Object
    implements Filter<T>, java.lang.Cloneable, java.io.Serializable
    This filter provides a simple framework for combining the behavior of a pair of filters.
    Since:
    2.3
    Version:
    2.3
    See Also:
    Serialized Form
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • getFilter1

        public Filter<T> getFilter1()
        Returns the left Filter of this compound filter.
        Returns:
        The first Filter
      • getFilter2

        public Filter<T> getFilter2()
        Returns the second Filter of this compound filter.
        Returns:
        The second Filter
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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