Enum Class NodeType

java.lang.Object
java.lang.Enum<NodeType>
cn.sinozg.applet.common.enums.NodeType
All Implemented Interfaces:
Serializable, Comparable<NodeType>, Constable

public enum NodeType extends Enum<NodeType>
json 节点信息
Since:
2023-08-25 21:42
Author:
xieyubin
  • Enum Constant Details

    • FIND

      public static final NodeType FIND
      find 可以找到最里层
    • AT

      public static final NodeType AT
      at
    • ARRAY

      public static final NodeType ARRAY
      数组
  • Field Details

    • code

      private final String code
  • Constructor Details

    • NodeType

      private NodeType(String code)
  • Method Details

    • values

      public static NodeType[] 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 NodeType 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
    • getCode

      public String getCode()