Class Filter.EqualFilter<T>

java.lang.Object
de.espirit.common.util.Filter.EqualFilter<T>
All Implemented Interfaces:
Filter<T>, Serializable
Enclosing interface:
Filter<T>

public static final class Filter.EqualFilter<T> extends Object implements Filter<T>
Simple equality filter implementation.
Since:
4.1.9
See Also:
  • Method Details

    • accept

      public boolean accept(T element)
      Accepts the given element, if it is equal to the one defined with this filter.
      Specified by:
      accept in interface Filter<T>
      Parameters:
      element - The element in question.
      Returns:
      true, if the element is equal.
      Since:
      4.1.9