Package org.immutables.check
Class IterableChecker<Z extends Iterable<T>,T>
java.lang.Object
org.immutables.check.ObjectChecker<Z>
org.immutables.check.IterableChecker<Z,T>
- Type Parameters:
Z- the generic typeT- the generic type
The iterable match wrapper.
-
Field Summary
Fields inherited from class org.immutables.check.ObjectChecker
actualValue, negate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidfinal voidfinal voidvoidhasContentInAnyOrder(Iterable<? extends T> elements) final voidhasContentInAnyOrder(T... elements) voidhasSize(int size) voidisEmpty()voidfinal voidnot()Makes checker negative.voidnotEmpty()Methods inherited from class org.immutables.check.ObjectChecker
allOf, anyOf, anything, asString, ensureNonNegative, equals, fail, hashCode, hasToString, is, is, isA, isIn, isIn, isNull, not, not, notNull, same, satisfies, trimStackTrace, verifyCheck, verifyUsingMatcher, verifyUsingMatcher
-
Constructor Details
-
IterableChecker
-
-
Method Details
-
not
Description copied from class:ObjectCheckerMakes checker negative.- Overrides:
notin classObjectChecker<Z extends Iterable<T>>- Returns:
- negative checker
-
any
-
every
-
has
-
hasAll
-
hasAll
-
isOf
-
isOf
-
hasContentInAnyOrder
-
hasContentInAnyOrder
-
hasSize
public void hasSize(int size) -
notEmpty
public void notEmpty() -
isEmpty
public void isEmpty()
-