类 MMSI

java.lang.Object
net.sf.marineapi.ais.util.MMSI

public class MMSI extends Object
Checks an MMSI value for validity.
作者:
Lázár József
  • 构造器详细资料

    • MMSI

      public MMSI()
  • 方法详细资料

    • isCorrect

      public static boolean isCorrect(long value)
      Checks whether the MMSI value is correct, i.e. within valid range.
      参数:
      value - MMSI value to check
      返回:
      true if the value is semantically correct.
    • toString

      public static String toString(long value)
      Returns the origin associated with the MMSI number.
      参数:
      value - MMSI value to stringify
      返回:
      A String describing the region of the transmitter