Enum Class OrderByType

java.lang.Object
java.lang.Enum<OrderByType>
cool.scx.data.query.OrderByType
All Implemented Interfaces:
Serializable, Comparable<OrderByType>, Constable

public enum OrderByType extends Enum<OrderByType>
OrderByType
Version:
0.0.1
Author:
scx567888
  • Enum Constant Details

    • ASC

      public static final OrderByType ASC
      正序 : 也就是从小到大 (1,2,3,4,5,6)
    • DESC

      public static final OrderByType DESC
      倒序 : 也就是从大到小 (6,5,4,3,2,1)
  • Method Details

    • values

      public static OrderByType[] 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 OrderByType 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