Package jminusminus

Class Conversions

java.lang.Object
jminusminus.Conversions

class Conversions extends Object
A 2D table of conversions, from one type to another.
  • Constructor Details

    • Conversions

      public Conversions()
      Constructs a table of conversions and populates it.
  • Method Details

    • get

      public Converter get(Type source, Type target)
      Retrieves and returns a converter for converting from some original type to a target type.
      Parameters:
      source - the source type.
      target - the target type.
      Returns:
      the converter.