S
- Source typeT
- Destination typepublic interface Converter<S,T>
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class sourceClass,
Class destinationClass)
Returns true if this converter can convert instances of sourceClass to
destinationClass.
|
T |
convert(S source)
Converts instance of S to T.
|
boolean canConvert(Class sourceClass, Class destinationClass)
sourceClass
- source ClassdestinationClass
- destination ClassCopyright © 2019 JavaLite. All rights reserved.