Enum Class Sorting

java.lang.Object
java.lang.Enum<Sorting>
fr.maxlego08.zauctionhouse.api.enums.Sorting
All Implemented Interfaces:
Serializable, Comparable<Sorting>, Constable

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

    • DECREASING_DATE

      public static final Sorting DECREASING_DATE
    • DECREASING_PRICE

      public static final Sorting DECREASING_PRICE
    • ASCENDING_DATE

      public static final Sorting ASCENDING_DATE
    • ASCENDING_PRICE

      public static final Sorting ASCENDING_PRICE
  • Method Details

    • values

      public static Sorting[] 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 Sorting 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
    • getName

      public String getName()
      Returns:
      the name
    • next

      public Sorting next()