Enum MapType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MapType>

    public enum MapType
    extends java.lang.Enum<MapType>
    기본적으로 제공하는 지도의 타입을 나타내는 Enum 클래스. 일반지도 타입은 NORMAL, 위성지도 타입은 SKYVIEW.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NORMAL
      일반지도
      SKYVIEW
      위성지도
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MapType getEnum​(java.lang.String value)  
      java.lang.String getValue()  
      static MapType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static MapType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NORMAL

        public static final MapType NORMAL
        일반지도
      • SKYVIEW

        public static final MapType SKYVIEW
        위성지도
    • Method Detail

      • values

        public static MapType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MapType c : MapType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MapType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        @NonNull
        public java.lang.String getValue()
      • getEnum

        @NonNull
        public static MapType getEnum​(java.lang.String value)