Top Description Constructors Methods
org.assertj.core.extractor

pack-priv Class ToStringExtractor

extends Object
implements Function<Object, String>
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Imports
java.util.function.Function

Extracts Object#toString() from any object
Author
Mateusz Haligowski

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public String
apply(Object
the function argument
input
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ToStringExtractorback to summary
pack-priv ToStringExtractor()

Method Detail

applyback to summary
public String apply(Object input)

Implements java.util.function.Function.apply.

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

Applies this function to the given argument.

Parameters
input:Object

the function argument

Returns:String

the function result

Annotations
@Override