Enum Class NumberPattern

java.lang.Object
java.lang.Enum<NumberPattern>
slash.navigation.common.NumberPattern
All Implemented Interfaces:
Serializable, Comparable<NumberPattern>, Constable

public enum NumberPattern extends Enum<NumberPattern>
Enumeration of the ways to add numbers to the descriptions of positions. Description_Only: Hamburg Number_Only: 1234 Number_Directly_Followed_By_Description: 1234Hamburg Number_Space_Then_Description: 1234 Hamburg
Author:
Christian Pesch
  • Enum Constant Details

    • Description_Only

      public static final NumberPattern Description_Only
    • Number_Only

      public static final NumberPattern Number_Only
    • Number_Directly_Followed_By_Description

      public static final NumberPattern Number_Directly_Followed_By_Description
    • Number_Space_Then_Description

      public static final NumberPattern Number_Space_Then_Description
  • Method Details

    • values

      public static NumberPattern[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NumberPattern valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null