Top Description Methods
org.assertj.core.api.iterable

public Interface Extractor<F, T>

extends Function<F, T>
Annotations
@Deprecated
@FunctionalInterface
Type Parameters
<F>
type of element from which the conversion happens
<T>
target element type
Imports
java.util.function.Function, org.assertj.core.api.AbstractIterableAssert, .AbstractObjectArrayAssert, .AtomicReferenceArrayAssert

Deprecated

use Function instead

Function converting an element to another element. Used in AbstractIterableAssert#extracting(Function), AbstractObjectArrayAssert#extracting(Function) and AtomicReferenceArrayAssert#extracting(Function).
Author
Mateusz Haligowski

Method Summary

Modifier and TypeMethod and Description
public default T
apply(F
the function argument
f
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.
public T
extract(F input)

Inherited from java.util.function.Function:
andThencomposeidentity

Method Detail

applyback to summary
public default T apply(F f)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
f:F

the function argument

Returns:T

the function result

Annotations
@Override
extractback to summary
public T extract(F input)