T
- the type of the candidate object the specification applies to.public interface SubstitutableSpecification<T> extends Specification<T>
Modifier and Type | Method and Description |
---|---|
Specification<T> |
getSubstitute()
Returns the specification it can be be substituted with.
|
default boolean |
isSatisfiedBy(T candidate)
Evaluates if the candidate object passed as argument satisfies the specification.
|
and, any, asPredicate, negate, none, or
Specification<T> getSubstitute()
default boolean isSatisfiedBy(T candidate)
Specification
isSatisfiedBy
in interface Specification<T>
candidate
- the candidate object to check.Copyright © 2013-2018–2019 SeedStack. All rights reserved.