Package org.fest.assertions
Class Collections
java.lang.Object
org.fest.assertions.Collections
Understands utility methods related to
Collections
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<Object>
found
(Collection<?> target, Object... objects) Attempts to find the given objects in the given
, returning the ones that were found.Collection
static Collection<Object>
notFound
(Collection<?> target, Object... objects) Attempts to find the given objects in the given
, returning the ones that were not found.Collection
-
Constructor Details
-
Collections
private Collections()
-
-
Method Details
-
notFound
Attempts to find the given objects in the given
, returning the ones that were not found.Collection
- Parameters:
target
- the givenCollection
.objects
- the elements to find in the givenCollection
.- Returns:
- the elements that were not found in the given
Collection
.
-
found
Attempts to find the given objects in the given
, returning the ones that were found.Collection
- Parameters:
target
- the givenCollection
.objects
- the elements to find in the givenCollection
.- Returns:
- the elements that were found in the given
Collection
.
-