Interface Criterion<T>
- Type Parameters:
T
- type of testable objects
- All Known Implementing Classes:
AndCriterion
,InstanceOfCriterion
,NotCriterion
,OrCriterion
public interface Criterion<T>
An interface to define a criterion (usually for use in some kind of filtering method).
The concrete implementation should specify whether it can be used in several threads concurrently or not.
- Author:
- agz
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isSatisfiedBy
(T object) Returns whether the specified object satisfies this criterion.
-
Method Details
-
isSatisfiedBy
Returns whether the specified object satisfies this criterion. Implementations have to acceptnull
-values without throwing exceptions.- Parameters:
object
- object to test- Returns:
- whether the specified object satisfies this criterion
-