Interface Spec<T>

Type Parameters:
T - The target type for this Spec
All Known Implementing Classes:
AndSpec, CompositeSpec, NotSpec, OrSpec

public interface Spec<T>
Represents some predicate against objects of type T.
Since:
0.7
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSatisfiedBy(T element)
    Returns whether satisfied by is set.
  • Method Details

    • isSatisfiedBy

      boolean isSatisfiedBy(T element)
      Returns whether satisfied by is set.
      Since:
      0.7