Ensure that all characters in a given String
pass the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
Ensure that all characters in a given String
pass the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
The difference between forAll
and forEvery
is that
forAll
will stop on the first failure, while forEvery
will continue to inspect all characters in the String
after the
first failure (and report all failures).
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that all elements in a given java.util.Map
pass the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
Ensure that all elements in a given java.util.Map
pass the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
The difference between forAll
and forEvery
is that
forAll
will stop on the first failure, while forEvery
will continue to inspect all java.util.Map
elements after the
first failure (and report all failures).
the type of key in the Java Map
the type of value in the Java Map
subtype of java.util.Map
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that all elements in a given collection pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).
Ensure that all elements in a given collection pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).
The difference between forAll
and forEvery
is that
forAll
will stop on the first failure, while forEvery
will continue to inspect all elements after the
first failure (and report all failures).
the type of element in the collection
the type of collection
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at least min
number of characters in a given String
pass the given inspection function.
Ensure that at least min
number of characters in a given String
pass the given inspection function.
the minimum number of characters in String
that must pass the inspection function
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at least min
number of elements in a given java.util.Map
pass the given inspection function.
Ensure that at least min
number of elements in a given java.util.Map
pass the given inspection function.
the type of key in the java.util.Map
the type of value in the java.util.Map
subtype of java.util.Map
the minimum number of elements that must pass the inspection function
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at least min
number of elements of a given collection pass the given inspection function.
Ensure that at least min
number of elements of a given collection pass the given inspection function.
the type of element in the collection
the type of collection
the minimum number of elements that must pass the inspection function
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at most max
number of characters in a given String
pass the given inspection function.
Ensure that at most max
number of characters in a given String
pass the given inspection function.
the maximum number of characters in String
that must pass the inspection function
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at most max
number of elements in a given java.util.Map
pass the given inspection function.
Ensure that at most max
number of elements in a given java.util.Map
pass the given inspection function.
the type of key in the java.util.Map
the type of value in the java.util.Map
subtype of java.util.Map
the maximum number of elements in the java.util.Map
that must pass the inspection function
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that at most max
number of elements of a given collection pass the given inspection function.
Ensure that at most max
number of elements of a given collection pass the given inspection function.
the type of element in the collection
the type of collection
the maximum number of elements that must pass the inspection function
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure the number of characters of a given String
that pass the given inspection function is between from
and upTo
.
Ensure the number of characters of a given String
that pass the given inspection function is between from
and upTo
.
the minimum number of characters in the String
that must pass the inspection number
the maximum number of characters in the String
that must pass the inspection number
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure the number of elements in a given java.util.Map
that pass the given inspection function is between from
and upTo
.
Ensure the number of elements in a given java.util.Map
that pass the given inspection function is between from
and upTo
.
the type of key in the java.util.Map
the type of value in the java.util.Map
subtype of java.util.Map
the minimum number of elements in the java.util.Map
that must pass the inspection number
the maximum number of elements in the java.util.Map
that must pass the inspection number
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure the number of elements of a given collection that pass the given inspection function is between from
and upTo
.
Ensure the number of elements of a given collection that pass the given inspection function is between from
and upTo
.
the type of element in the collection
the type of collection
the minimum number of elements that must pass the inspection number
the maximum number of elements that must pass the inspection number
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that every character in a given String
passes the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
Ensure that every character in a given String
passes the given inspection function, where "pass" means returning normally from the function (i.e.,
without throwing an exception).
The difference between forEvery
and forAll
is that
forEvery
will continue to inspect all characters in the String
after first failure, and report all failures,
whereas forAll
will stop on (and only report) the first failure.
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that every element in a given java.util.Map
passes the given inspection function, where "pass" means returning normally
from the function (i.e., without throwing an exception).
Ensure that every element in a given java.util.Map
passes the given inspection function, where "pass" means returning normally
from the function (i.e., without throwing an exception).
The difference between forEvery
and forAll
is that
forEvery
will continue to inspect all elements in the java.util.Map
after first failure, and report all failures,
whereas forAll
will stop on (and only report) the first failure.
the type of key in the java.util.Map
the type of value in the java.util.Map
subtype of java.util.Map
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that every element in a given collection passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).
Ensure that every element in a given collection passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).
The difference between forEvery
and forAll
is that
forEvery
will continue to inspect all elements after first failure, and report all failures,
whereas forAll
will stop on (and only report) the first failure.
the type of element in the collection
the type of collection
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that exactly succeededCount
number of characters in a given String
pass the given inspection function.
Ensure that exactly succeededCount
number of characters in a given String
pass the given inspection function.
the number of characters in the String
that must pass the inspection function
the String
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that exactly succeededCount
number of elements in a given java.util.Map
pass the given inspection function.
Ensure that exactly succeededCount
number of elements in a given java.util.Map
pass the given inspection function.
the type of key in the java.util.Map
the type of value in the java.util.Map
subtype of java.util.Map
the number of elements in the java.util.Map
that must pass the inspection function
the java.util.Map
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Ensure that exactly succeededCount
number of elements of a given collection pass the given inspection function.
Ensure that exactly succeededCount
number of elements of a given collection pass the given inspection function.
the type of element in the collection
the type of collection
the number of elements that must pass the inspection function
the collection of elements
the inspection function
the implicit Collecting
that can transform xs
into a scala.collection.GenTraversable
Companion object that facilitates the importing of
Inspectors
members as an alternative to mixing it in. One use case is to importInspectors
's members so you can use them in the Scala interpreter.