Modifier and Type | Field and Description |
---|---|
protected Function<T,G> |
grabber |
protected Function<? super G,String> |
stringifier |
Constructor and Description |
---|
GrabberStringifier(Function<T,G> grabber) |
GrabberStringifier(Function<T,G> grabber,
Function<? super G,String> stringifier) |
Modifier and Type | Method and Description |
---|---|
String |
apply(T object) |
void |
setGrabber(Function<T,G> grabber)
Set the grabber which is to be used.
|
void |
setStringifier(Function<? super G,String> stringifier)
Set the stringifier which is to be used.
|