E - the type of candidates being checkedR - the type of resultpublic interface GenericSpecificationStrategy<R,E>
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAny(org.kametic.specifications.Specification<E> specification,
SpecificationOption option)
Determine if any of our entities match a specification.
|
long |
howMany(org.kametic.specifications.Specification<E> specification,
SpecificationOption option)
Counts how many entities are matching the given specification.
|
List<R> |
matching(org.kametic.specifications.Specification<E> specification,
SpecificationOption option)
Retrieve all entities that match a specification.
|
List<R> matching(org.kametic.specifications.Specification<E> specification, SpecificationOption option)
specification - the specificationoption - the specification optionlong howMany(org.kametic.specifications.Specification<E> specification, SpecificationOption option)
specification - the specificationoption - the specification optionboolean containsAny(org.kametic.specifications.Specification<E> specification, SpecificationOption option)
specification - the specificationoption - the specification optionCopyright © 2013-2015–2015. All rights reserved.