|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
F - the from type (type which we want to convert from)T - the to type (type which we want to convert to)public interface Convertor<F,T>
Convertor for converting the values from one type to another and vice versa.
| Method Summary | |
|---|---|
F |
backwardConversion(T object)
Convert from object of T type to F type. |
T |
forwardConversion(F object)
Convert from object of F type to T type. |
| Method Detail |
|---|
T forwardConversion(F object)
object - of F type to convert to T type
F backwardConversion(T object)
object - of T type to convert to F type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||