Class Direction

    • Method Detail

      • fromString

        public static Direction fromString​(String value)
        Creates an instance of Direction from value.
        Parameters:
        value - the value to create the Direction from.
        Returns:
        new instance of Direction
      • literals

        public static List<String> literals()
        Returns an unmodifiable list containing the literals that are known by this enumeration.
        Returns:
        A List containing the actual literals defined by this enumeration, this list can not be modified.
      • names

        public static List<String> names()
        Returns an unmodifiable list containing the names of the literals that are known by this enumeration.
        Returns:
        A List containing the actual names of the literals defined by this enumeration, this list can not be modified.
      • values

        public static List<Direction> values()
        Returns an unmodifiable list containing the actual enumeration instance values.
        Returns:
        A List containing the actual enumeration instance values.
      • getValue

        public String getValue()
        Gets the underlying value of this type safe enumeration.
        Returns:
        the underlying value.