Enum Comparators.Dummy

java.lang.Object
java.lang.Enum<Comparators.Dummy>
net.hydromatic.morel.eval.Comparators.Dummy
All Implemented Interfaces:
Serializable, Comparable<Comparators.Dummy>, java.lang.constant.Constable, Comparator
Enclosing class:
Comparators

private static enum Comparators.Dummy extends Enum<Comparators.Dummy> implements Comparator
Sentinel value.
  • Enum Constant Details

  • Constructor Details

    • Dummy

      private Dummy()
  • Method Details

    • values

      public static Comparators.Dummy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Comparators.Dummy 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
    • compare

      public int compare(Object o1, Object o2)
      Specified by:
      compare in interface Comparator