Uses of Class
org.assertj.core.api.filter.Filters
-
Packages that use Filters Package Description org.assertj.core.api org.assertj.core.api.filter -
-
Uses of Filters in org.assertj.core.api
Methods in org.assertj.core.api that return Filters Modifier and Type Method Description static <E> Filters<E>
Assertions. filter(E[] array)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).static <E> Filters<E>
Assertions. filter(Iterable<E> iterableToFilter)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).static <E> Filters<E>
AssertionsForClassTypes. filter(E[] array)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).static <E> Filters<E>
AssertionsForClassTypes. filter(Iterable<E> iterableToFilter)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).static <E> Filters<E>
Java6Assertions. filter(E[] array)
Deprecated.Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).static <E> Filters<E>
Java6Assertions. filter(Iterable<E> iterableToFilter)
Deprecated.Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).default <E> Filters<E>
WithAssertions. filter(E[] array)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer).default <E> Filters<E>
WithAssertions. filter(Iterable<E> iterableToFilter)
Only delegate tofilter(Object[])
so that Assertions offers a full feature entry point to all AssertJ features (but you can useFilters
if you prefer). -
Uses of Filters in org.assertj.core.api.filter
Methods in org.assertj.core.api.filter that return Filters Modifier and Type Method Description Filters<E>
Filters. and(String propertyOrFieldName)
Alias ofwith(String)
for synthetic sugar to write things like :private Filters<E>
Filters. applyFilterCondition(Condition<? super E> condition)
abstract <E> Filters<E>
FilterOperator. applyOn(Filters<E> filters)
<E> Filters<E>
InFilter. applyOn(Filters<E> filters)
<E> Filters<E>
NotFilter. applyOn(Filters<E> filters)
<E> Filters<E>
NotInFilter. applyOn(Filters<E> filters)
Filters<E>
Filters. being(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the givenCondition
.
Same ashaving(Condition)
- pick the method you prefer to have the most readable code.Filters<E>
Filters. equalsTo(Object propertyValue)
Filters the underlying iterable to keep object with property (specified bywith(String)
) equals to given value.static <E> Filters<E>
Filters. filter(E[] array)
Creates a new
with the array to filter.Filters
static <E> Filters<E>
Filters. filter(Iterable<E> iterable)
Filters<E>
Filters. having(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the givenCondition
.
Same asbeing(Condition)
- pick the method you prefer to have the most readable code.Filters<E>
Filters. in(Object... propertyValues)
Filters the underlying iterable to keep object with property (specified bywith(String)
) equals to one of the given values.Filters<E>
Filters. notEqualsTo(Object propertyValue)
Filters the underlying iterable to keep object with property (specified bywith(String)
) not equals to given value.Filters<E>
Filters. notIn(Object... propertyValues)
Filters the underlying iterable to keep object with property (specified bywith(String)
) not in the given values.Filters<E>
Filters. with(String propertyOrFieldName)
Sets the name of the property used for filtering, it may be a nested property like"adress.street.name"
.Filters<E>
Filters. with(String propertyOrFieldName, Object propertyValue)
Filter the underlying group, keeping only elements with a property equals to given value.Methods in org.assertj.core.api.filter with parameters of type Filters Modifier and Type Method Description abstract <E> Filters<E>
FilterOperator. applyOn(Filters<E> filters)
<E> Filters<E>
InFilter. applyOn(Filters<E> filters)
<E> Filters<E>
NotFilter. applyOn(Filters<E> filters)
<E> Filters<E>
NotInFilter. applyOn(Filters<E> filters)
-