Enum Mark.Operation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Mark.Operation>
    Enclosing class:
    Mark

    public static enum Mark.Operation
    extends java.lang.Enum<Mark.Operation>
    • Enum Constant Detail

      • TASK_START_N1S1

        public static final Mark.Operation TASK_START_N1S1
        startTask(String taskName) 1 long for nanoTime.
      • TASK_START_N1S2

        public static final Mark.Operation TASK_START_N1S2
        startTask(String name, String subTaskName) 1 long for nanoTime.
      • EVENT_N2S2

        public static final Mark.Operation EVENT_N2S2
        Tagged event, since attach tags can't apply to events
      • EVENT_N2S3

        public static final Mark.Operation EVENT_N2S3
        Tagged event, since attach tags can't apply to events
      • TAG_N0S1

        public static final Mark.Operation TAG_N0S1
        An unkeyed tag that has a single string value.
      • TAG_N1S0

        public static final Mark.Operation TAG_N1S0
        An unkeyed tag that has a single numeric value.
      • TAG_N1S1

        public static final Mark.Operation TAG_N1S1
        An unkeyed tag that has a string and numeric value. The values are unrelated to each other.
    • Method Detail

      • values

        public static Mark.Operation[] 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 (Mark.Operation c : Mark.Operation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Mark.Operation 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
      • getNumbers

        public int getNumbers()
      • getStrings

        public int getStrings()
      • getMarkers

        public int getMarkers()
      • maxNumbers

        public static int maxNumbers()
      • maxStrings

        public static int maxStrings()
      • maxMarkers

        public static int maxMarkers()
      • valueOf

        public static Mark.Operation valueOf​(int code)
        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:
        code - 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