Enum Class LogicOp

java.lang.Object
java.lang.Enum<LogicOp>
mindustry.logic.LogicOp
All Implemented Interfaces:
Serializable, Comparable<LogicOp>, Constable

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

    • add

      public static final LogicOp add
    • sub

      public static final LogicOp sub
    • mul

      public static final LogicOp mul
    • div

      public static final LogicOp div
    • idiv

      public static final LogicOp idiv
    • mod

      public static final LogicOp mod
    • pow

      public static final LogicOp pow
    • equal

      public static final LogicOp equal
    • notEqual

      public static final LogicOp notEqual
    • land

      public static final LogicOp land
    • lessThan

      public static final LogicOp lessThan
    • lessThanEq

      public static final LogicOp lessThanEq
    • greaterThan

      public static final LogicOp greaterThan
    • greaterThanEq

      public static final LogicOp greaterThanEq
    • strictEqual

      public static final LogicOp strictEqual
    • shl

      public static final LogicOp shl
    • shr

      public static final LogicOp shr
    • or

      public static final LogicOp or
    • and

      public static final LogicOp and
    • xor

      public static final LogicOp xor
    • not

      public static final LogicOp not
    • max

      public static final LogicOp max
    • min

      public static final LogicOp min
    • angle

      public static final LogicOp angle
    • angleDiff

      public static final LogicOp angleDiff
    • len

      public static final LogicOp len
    • noise

      public static final LogicOp noise
    • abs

      public static final LogicOp abs
    • log

      public static final LogicOp log
    • log10

      public static final LogicOp log10
    • floor

      public static final LogicOp floor
    • ceil

      public static final LogicOp ceil
    • sqrt

      public static final LogicOp sqrt
    • rand

      public static final LogicOp rand
    • sin

      public static final LogicOp sin
    • cos

      public static final LogicOp cos
    • tan

      public static final LogicOp tan
    • asin

      public static final LogicOp asin
    • acos

      public static final LogicOp acos
    • atan

      public static final LogicOp atan
  • Field Details

    • all

      public static final LogicOp[] all
    • objFunction2

      public final mindustry.logic.LogicOp.OpObjLambda2 objFunction2
    • function2

      public final mindustry.logic.LogicOp.OpLambda2 function2
    • function1

      public final mindustry.logic.LogicOp.OpLambda1 function1
    • unary

      public final boolean unary
    • func

      public final boolean func
    • symbol

      public final String symbol
  • Method Details

    • values

      public static LogicOp[] 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 LogicOp 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LogicOp>