All Known Implementing Classes:
NullFilter

public interface Filter<T>
A filter is used to determine if a value can be "accepted" or "rejected".
Version:
2.3
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T value)
    Determines whether the specified object is "accepted" by the filter.
  • Method Details

    • accept

      boolean accept(T value)
      Determines whether the specified object is "accepted" by the filter. The semantics of "accept" is determined by the contract between the client and the server.
      Parameters:
      value - The value to filter
      Returns:
      true if the given value is "accepted" by this filter; false if it was "rejected"