Package com.oracle.coherence.common.base
Interface Converter<F,T>
-
- Type Parameters:
F- the from typeT- the to type
- All Superinterfaces:
Function<F,T>
- All Known Subinterfaces:
Converter<F,T>
- All Known Implementing Classes:
MapListenerProxy.KeyConverter,NullImplementation.NullConverter,RequestHolder.DownConverter,RequestHolder.ErrorHandlingConverter,RequestHolder.UpConverter,SimpleOverflowMap.FrontFilterConverter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface Converter<F,T> extends Function<F,T>
Provide for "pluggable" object conversions.- Author:
- pm 2000.04.25
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Tapply(F value)Tconvert(F value)Convert the passed object to another object.
-
-
-
Method Detail
-
convert
T convert(F value)
Convert the passed object to another object.- Parameters:
value- the object to convert- Returns:
- the converted form of the passed object
- Throws:
IllegalArgumentException- describes a conversion error
-
-