Interface ValueConverter<F,T>

All Known Implementing Classes:
AbstractValueConverter, FromStringValueConverter

public interface ValueConverter<F,T>
Contract for converting objects from one type to another.

For example, you might have a ValueConverter<String, List<Integer>> which converts text like "1,2,3" to a list of numbers.

Value conversion is documented in detail at https://www.soklet.com/docs/value-conversions.

Author:
Mark Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(F from)
    Converts from to an instance of T.
    The 'converting from' type.
    The 'converting to' type.