Top Fields Constructors Methods
org.assertj.core.extractor

pack-priv Class ByNameSingleExtractor

extends Object
implements Function<Object, Object>
Class Inheritance
All Implemented Interfaces
java.util.function.Function
Imports
java.util.function.Function, org.assertj.core.util.introspection.PropertyOrFieldSupport

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
pack-priv
ByNameSingleExtractor(String propertyOrFieldName)

Method Summary

Modifier and TypeMethod and Description
public Object
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

Field Detail

propertyOrFieldNameback to summary
private final String propertyOrFieldName

Constructor Detail

ByNameSingleExtractorback to summary
pack-priv ByNameSingleExtractor(String propertyOrFieldName)

Method Detail

applyback to summary
public Object 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:Object

the function result

Annotations
@Override