Interface Converter<T1,T2>

Type Parameters:
T1 - type of input objects
T2 - type of converted objects
All Known Implementing Classes:
ArrayListConverter, ArrayToArrayConverter, ByteArrayIntArrayConverter, CalendarDateConverter, CharacterStringConverter, CollectionCastConverter, ConcatenationConverter, DateCalendarConverter, DateTimeConverter, DateTimestampConverter, DoubleArrayDoubleWrapperConverter, DoubleArrayFloatArrayConverter, DoubleWrapperArrayDoubleConverter, FloatArrayDoubleArrayConverter, GenericArrayConverter, IdentityConverter, IntArrayByteArrayConverter, IntArrayIntegerArrayConverter, IntArrayLongArrayConverter, IntArrayShortArrayConverter, IntegerArrayIntArrayConverter, ListArrayConverter, ListElementConverter, ListTypedArrayConverter, LongArrayIntArrayConverter, NumberByteConverter, NumberDoubleConverter, NumberFloatConverter, NumberIntegerConverter, NumberLongConverter, NumberShortConverter, ShortArrayIntArrayConverter, UtilDateSqlDateConverter

public interface Converter<T1,T2>

An interface to define a converter (usually for use in some kind of filtering method).

The concrete implementation should specify whether it can be used in several threads concurrently or not.

Author:
agz
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(T1 object)
    Converts the specified object and returns the conversion result.
  • Method Details

    • convert

      T2 convert(T1 object)
      Converts the specified object and returns the conversion result.

      Implementations have to accept null-values without throwing exceptions.

      Parameters:
      object - object to convert
      Returns:
      the converted object