Enum Class ICondition.Operator

java.lang.Object
java.lang.Enum<ICondition.Operator>
me.desht.pneumaticcraft.common.progwidgets.ICondition.Operator
All Implemented Interfaces:
Serializable, Comparable<ICondition.Operator>, Constable
Enclosing interface:
ICondition

public static enum ICondition.Operator extends Enum<ICondition.Operator>
  • Enum Constant Details

  • Method Details

    • values

      public static ICondition.Operator[] 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 ICondition.Operator 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
    • evaluate

      public boolean evaluate(int count1, int count2)
    • evaluate

      public boolean evaluate(float count1, float count2)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ICondition.Operator>