public abstract class Mapper<T,R>
extends scala.runtime.AbstractFunction1<T,R>
Override "apply" normally, or "checkedApply" if you need to throw checked exceptions.
SAM (Single Abstract Method) class
Java API
Constructor and Description |
---|
Mapper() |
Modifier and Type | Method and Description |
---|---|
R |
apply(T parameter)
Override this method to perform the map operation, by default delegates to "checkedApply"
which by default throws an UnsupportedOperationException.
|
R |
checkedApply(T parameter)
Override this method if you need to throw checked exceptions
|
andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, compose, toString