Interface Filter<T>

Type Parameters:
T - Type of elements to filter on.
All Superinterfaces:
Serializable
All Known Subinterfaces:
Filter.TypedFilter<T>
All Known Implementing Classes:
Filter.AndFilter, Filter.CombinedFilter, Filter.EqualFilter, Filter.ImpliesFilter, Filter.NotFilter, Filter.OrFilter, StoreElementFilter, TypedFilter

public interface Filter<T> extends Serializable
Interface to be implemented by filters on specific types.
Since:
4.1.9
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A simple combinatorial filter that requires all inner filters to accept an element to be fulfilled.
    static class 
    Abstract definition for combinatorial filters.
    static final class 
    Simple equality filter implementation.
    static final class 
    A filter implementation accepting elements based on a logical consequence concept, i.e., it accepts an element, if the implication accepting the element is a consequence of the condition accepting it.
    static final class 
    A simple filter negating the single inner one.
    static final class 
    A simple combinatorial filter that requires one of the inner filters to accept an element to be fulfilled.
    static interface 
    Extension to a filter definition that provides the element in question as type safe object, if the filter accepted it.
    static final class 
    Usage example
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T element)
    Determines, whether the given element should be accepted by this filter.
  • Method Details

    • accept

      boolean accept(T element)
      Determines, whether the given element should be accepted by this filter.
      Parameters:
      element - The element to test.
      Since:
      4.1.9