Uses of Class
specialized_checkers.math.CheckerArray
Packages that use CheckerArray
-
Uses of CheckerArray in specialized_checkers.math
Subclasses with type arguments of type CheckerArray in specialized_checkers.mathModifier and TypeClassDescriptionclass
CheckerArray<T>
Checker for array instances, providing fluent validation methods for arrays of any reference type.Methods in specialized_checkers.math that return CheckerArrayModifier and TypeMethodDescriptionAsserts that all elements in the array match the provided predicate.Asserts that any element in the array matches the provided predicate.static <T> CheckerArray
<T> CheckerArray.check
(T[] array) Creates a newCheckerArray
for the given array instance with a default name.static <T> CheckerArray
<T> Creates a newCheckerArray
for the given array instance with a custom name.CheckerArray.isEmpty()
Asserts that the array is empty (has zero length).CheckerArray.isSortedAsc()
Asserts that the array is sorted in ascending order according to the natural ordering of its elements.CheckerArray.isSortedAsc
(Comparator<T> comparator) Asserts that the array is sorted in ascending order according to the provided comparator.CheckerArray.isSortedDesc()
Asserts that the array is sorted in descending order according to the natural ordering of its elements.CheckerArray.isSortedDesc
(Comparator<T> comparator) Asserts that the array is sorted in descending order according to the provided comparator.CheckerArray.isSufficientPercentage
(Predicate<T> matching, double percentage) Asserts that at least the given percentage of elements in the array match the provided predicate.protected CheckerArray
<T> CheckerArray.self()
Returns this checker instance (for fluent API usage). -
Uses of CheckerArray in util
Methods in util that return CheckerArrayModifier and TypeMethodDescriptionCheckerArray
<?> Checker.isArray()
Checks if the object is an array and returns a CheckerArray for further validation.<T> CheckerArray
<T> Checks if the object is an array of the given class and returns a CheckerArray for further validation.