Enum CompareOp

    • Enum Constant Detail

      • EQ

        public static final CompareOp EQ
        Equal.
      • NE

        public static final CompareOp NE
        Not equal.
      • LT

        public static final CompareOp LT
        Less than.
      • GE

        public static final CompareOp GE
        Greater or equal.
      • GT

        public static final CompareOp GT
        Greater than.
      • LE

        public static final CompareOp LE
        Less or equal.
      • IFEQ

        public static final CompareOp IFEQ
        If equal to zero.
      • IFNE

        public static final CompareOp IFNE
        If not equal to zero.
      • IFLT

        public static final CompareOp IFLT
        If less than zero.
      • IFGE

        public static final CompareOp IFGE
        If greater or equal to zero.
      • IFGT

        public static final CompareOp IFGT
        If greater than zero.
      • IFLE

        public static final CompareOp IFLE
        If less or equal to zero.
      • IFNULL

        public static final CompareOp IFNULL
        If reference is null.
      • IFNONNULL

        public static final CompareOp IFNONNULL
        If reference is not null.
      • ACMPEQ

        public static final CompareOp ACMPEQ
        If references are equal.
      • ACMPNE

        public static final CompareOp ACMPNE
        If references are not equal.
    • Method Detail

      • values

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

        public static CompareOp valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • invert

        public CompareOp invert()
        The logically-opposite comparison (the branch that fires exactly when this one would not).
        Returns:
        the inverted comparison