Enum Class LogicBlock.Comparator

java.lang.Object
java.lang.Enum<LogicBlock.Comparator>
neqsim.process.controllerdevice.LogicBlock.Comparator
All Implemented Interfaces:
Serializable, Comparable<LogicBlock.Comparator>, Constable
Enclosing class:
LogicBlock

public static enum LogicBlock.Comparator extends Enum<LogicBlock.Comparator>
Comparison operators used to convert a continuous signal to a boolean.
Version:
1.0
Author:
ESOL
  • Enum Constant Details

    • GREATER_THAN

      public static final LogicBlock.Comparator GREATER_THAN
      True when measured value > threshold.
    • GREATER_EQUAL

      public static final LogicBlock.Comparator GREATER_EQUAL
      True when measured value >= threshold.
    • LESS_THAN

      public static final LogicBlock.Comparator LESS_THAN
      True when measured value < threshold.
    • LESS_EQUAL

      public static final LogicBlock.Comparator LESS_EQUAL
      True when measured value <= threshold.
    • EQUAL

      public static final LogicBlock.Comparator EQUAL
      True when measured value equals threshold (within tolerance).
  • Constructor Details

    • Comparator

      private Comparator()
  • Method Details

    • values

      public static LogicBlock.Comparator[] 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 LogicBlock.Comparator 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