Interface Converter

All Known Implementing Classes:
DecimalConverter, DMSConverter

public interface Converter
Interface which requires the implementor to implement the convert method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Implemented method should convert to opposite type.
  • Method Details

    • convert

      void convert()
      Implemented method should convert to opposite type.

      So if convert() is implemented within DecimalConverter, it must convert it's DMSCoordinate object to a DecimalCoordinate. Once converted, the convertedObj within DMSConverter or DecimalConverter will be set to the converted object.