Enum Class Settings.RankedType

java.lang.Object
java.lang.Enum<Settings.RankedType>
moblima.entities.Settings.RankedType
All Implemented Interfaces:
Serializable, Comparable<Settings.RankedType>, Constable
Enclosing class:
Settings

public static enum Settings.RankedType extends Enum<Settings.RankedType>
The enum Ranked type.
  • Enum Constant Details

    • MOVIES_BY_TICKETS

      public static final Settings.RankedType MOVIES_BY_TICKETS
      Movies by tickets ranked type.
    • MOVIES_BY_RATINGS

      public static final Settings.RankedType MOVIES_BY_RATINGS
      Movies by ratings ranked type.
  • Method Details

    • values

      public static Settings.RankedType[] 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 Settings.RankedType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Settings.RankedType>