Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.api.filter |
Modifier and Type | Method and Description |
---|---|
static <E> Filters<E> |
Assertions.filter(E[] array)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
static <E> Filters<E> |
Java6Assertions.filter(E[] array)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
static <E> Filters<E> |
Assertions.filter(Iterable<E> iterableToFilter)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
static <E> Filters<E> |
Java6Assertions.filter(Iterable<E> iterableToFilter)
Only delegate to
filter(Object[]) so that Assertions offers a full feature entry point to all
AssertJ features (but you can use Filters if you prefer). |
Modifier and Type | Method and Description |
---|---|
Filters<E> |
Filters.and(String propertyOrFieldName)
Alias of
with(String) for synthetic sugar to write things like : |
abstract <E> Filters<E> |
FilterOperator.applyOn(Filters<E> filters) |
<E> Filters<E> |
NotFilter.applyOn(Filters<E> filters) |
<E> Filters<E> |
InFilter.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 given
Condition .Same as having(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 by
with(String) ) equals to
given
value. |
static <E> Filters<E> |
Filters.filter(E[] array)
Creates a new
with the array to filter. |
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 given
Condition .Same as being(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 by
with(String) ) equals to
one of the
given values. |
Filters<E> |
Filters.notEqualsTo(Object propertyValue)
Filters the underlying iterable to keep object with property (specified by
with(String) ) not equals
to given
value. |
Filters<E> |
Filters.notIn(Object... propertyValues)
Filters the underlying iterable to keep object with property (specified by
with(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.
|
Modifier and Type | Method and Description |
---|---|
abstract <E> Filters<E> |
FilterOperator.applyOn(Filters<E> filters) |
<E> Filters<E> |
NotFilter.applyOn(Filters<E> filters) |
<E> Filters<E> |
InFilter.applyOn(Filters<E> filters) |
<E> Filters<E> |
NotInFilter.applyOn(Filters<E> filters) |
Copyright © 2013–2017 AssertJ. All rights reserved.