Interface CollectionValidator<T extends Collection<E>,E>
- Type Parameters:
T
- the type of the collectionE
- the type of elements in the collection
- All Superinterfaces:
CollectionComponent<CollectionValidator<T,
,E>, E> ObjectComponent<CollectionValidator<T,
,E>, T> ValidatorComponent<CollectionValidator<T,
E>, T>
public interface CollectionValidator<T extends Collection<E>,E>
extends ValidatorComponent<CollectionValidator<T,E>,T>, ObjectComponent<CollectionValidator<T,E>,T>, CollectionComponent<CollectionValidator<T,E>,E>
Validates the state of a
Collection
.-
Method Summary
Methods declared in interface com.github.cowwoc.requirements10.java.validator.component.CollectionComponent
contains, contains, containsAll, containsAll, containsAll, containsAll, containsAny, containsAny, containsAny, containsAny, containsExactly, containsExactly, containsExactly, containsExactly, doesNotContain, doesNotContain, doesNotContainAll, doesNotContainAll, doesNotContainAll, doesNotContainAll, doesNotContainAny, doesNotContainAny, doesNotContainAny, doesNotContainAny, doesNotContainDuplicates, doesNotContainExactly, doesNotContainExactly, doesNotContainExactly, doesNotContainExactly, isEmpty, isNotEmpty, size
Methods declared in interface com.github.cowwoc.requirements10.java.validator.component.ObjectComponent
getValue, isEqualTo, isEqualTo, isInstanceOf, isInstanceOf, isNotEqualTo, isNotEqualTo, isNotInstanceOf, isNotInstanceOf, isNotNull, isNull, isReferenceEqualTo, isReferenceNotEqualTo
Methods declared in interface com.github.cowwoc.requirements10.java.validator.component.ValidatorComponent
and, elseGetFailures, elseThrow, getContext, getContextAsString, getName, getValueOrDefault, validationFailed, withContext