Interface TypeConverter<T,V>

All Known Implementing Classes:
BidirectionalTypeConverter
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 TypeConverter<T,V>
Base interface used convert type T to another type V. This is necessary when the value types of in animation are different from the property type.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(T value)
    Converts a value from one type to another.
  • Method Details

    • convert

      V convert(T value)
      Converts a value from one type to another.
      Parameters:
      value - The Object to convert.
      Returns:
      A value of type V, converted from value.