org.assertj.core.api.iterable
Interface Extractor<F,T>

Type Parameters:
F - type of element from which the conversion happens
T - target element type
All Known Implementing Classes:
ToStringExtractor

public interface Extractor<F,T>

Function converting an element to another element. Used in AbstractIterableAssert.extracting(Extractor) and AbstractObjectArrayAssert.extracting(Extractor).

Author:
Mateusz Haligowski

Method Summary
 T extract(F input)
           
 

Method Detail

extract

T extract(F input)


Copyright © 2013–2015 AssertJ. All rights reserved.