Interface BiConverter<A,B>

Type Parameters:
A - the first type that can be converted to and from
B - the second type that can be converted to and from
All Known Subinterfaces:
IdConverter<I>, IdentityConverter<T>, IRIConverter<I>, ObjectToStringBiConverter<T>, OptionalBiConverterIntoAppendable<I>
All Known Implementing Classes:
IdConverterChain, IDIRI.ConverterX, ObjectToStringBiConverterWithFormat, ObjectToStringWithToStringBiConverter, TemporalAccessorToStringConverter

public interface BiConverter<A,B>
Bi-directional alternative to Converter.

See also Guava's similar Converter.

  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable A
    convertFrom(@Nullable B input)
     
    @Nullable B
    convertTo(@Nullable A input)