Enum Class StandardComparison

java.lang.Object
java.lang.Enum<StandardComparison>
me.lucko.luckperms.common.bulkupdate.comparison.StandardComparison
All Implemented Interfaces:
Serializable, Comparable<StandardComparison>, java.lang.constant.Constable, Comparison

public enum StandardComparison extends Enum<StandardComparison> implements Comparison
An enumeration of standard Comparisons.
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static StandardComparison[] 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 StandardComparison 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
    • getSymbol

      public String getSymbol()
      Description copied from interface: Comparison
      Gets the symbol which represents this comparison
      Specified by:
      getSymbol in interface Comparison
      Returns:
      the comparison symbol
    • appendSql

      public void appendSql(PreparedStatementBuilder builder)
      Description copied from interface: Comparison
      Returns the comparison operator in SQL form
      Specified by:
      appendSql in interface Comparison
    • toString

      public String toString()
      Overrides:
      toString in class Enum<StandardComparison>
    • parseComparison

      public static StandardComparison parseComparison(String s)