Enum Class SortBy

java.lang.Object
java.lang.Enum<SortBy>
org.wikirate4j.utils.SortBy
All Implemented Interfaces:
Serializable, Comparable<SortBy>, Constable

public enum SortBy extends Enum<SortBy>
Author:
Vasiliki Gkatziaki
  • Enum Constant Details

    • NAME

      public static final SortBy NAME
    • MOST_ANSWERS

      public static final SortBy MOST_ANSWERS
    • MOST_BOOKMARKED

      public static final SortBy MOST_BOOKMARKED
    • RECENTLY_ADDED

      public static final SortBy RECENTLY_ADDED
    • METRIC_TITLE

      public static final SortBy METRIC_TITLE
    • METRIC_DESIGNER

      public static final SortBy METRIC_DESIGNER
    • MOST_COMPANIES

      public static final SortBy MOST_COMPANIES
    • BOOKMARKERS

      public static final SortBy BOOKMARKERS
    • MOST_DATA_SUBSETS

      public static final SortBy MOST_DATA_SUBSETS
    • MOST_METRICS

      public static final SortBy MOST_METRICS
    • MOST_PROJECT

      public static final SortBy MOST_PROJECT
    • MOST_RESEARCHERS

      public static final SortBy MOST_RESEARCHERS
    • COMPANY_NAME

      public static final SortBy COMPANY_NAME
    • VALUE

      public static final SortBy VALUE
    • YEAR

      public static final SortBy YEAR
  • Method Details

    • values

      public static SortBy[] 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 SortBy 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
    • value

      public String value()