Interface Filter<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(T value)
      Determines whether the specified object is "accepted" by the filter.
    • Method Detail

      • 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"