Enum Class AbstractList.Ordering

java.lang.Object
java.lang.Enum<AbstractList.Ordering>
net.minecraft.client.gui.widget.list.AbstractList.Ordering
All Implemented Interfaces:
Serializable, Comparable<AbstractList.Ordering>, Constable
Enclosing class:
AbstractList<E extends AbstractList.AbstractListEntry<E>>

public static enum AbstractList.Ordering extends Enum<AbstractList.Ordering>
  • Enum Constant Details

  • Constructor Details

    • Ordering

      private Ordering()
  • Method Details

    • values

      public static AbstractList.Ordering[] 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 AbstractList.Ordering 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