Enum Class CompareOp

java.lang.Object
java.lang.Enum<CompareOp>
com.mojang.blaze3d.platform.CompareOp
All Implemented Interfaces:
Serializable, Comparable<CompareOp>, Constable

public enum CompareOp extends Enum<CompareOp>
  • Enum Constant Details

    • ALWAYS_PASS

      public static final CompareOp ALWAYS_PASS
    • LESS_THAN

      public static final CompareOp LESS_THAN
    • LESS_THAN_OR_EQUAL

      public static final CompareOp LESS_THAN_OR_EQUAL
    • EQUAL

      public static final CompareOp EQUAL
    • NOT_EQUAL

      public static final CompareOp NOT_EQUAL
    • GREATER_THAN_OR_EQUAL

      public static final CompareOp GREATER_THAN_OR_EQUAL
    • GREATER_THAN

      public static final CompareOp GREATER_THAN
    • NEVER_PASS

      public static final CompareOp NEVER_PASS
  • Constructor Details

    • CompareOp

      private CompareOp()
  • Method Details

    • values

      public static CompareOp[] 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 CompareOp 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