Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
com.xyrisdev.cloud.storage.model.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

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

    • KILLS

      public static final DataType KILLS
      Represents the number of kills.
    • DEATHS

      public static final DataType DEATHS
      Represents the number of deaths.
    • WINS

      public static final DataType WINS
      Represents the number of wins.
    • LOSES

      public static final DataType LOSES
      Represents the number of losses.
    • WIN_STREAK

      public static final DataType WIN_STREAK
      Represents the current win streak.
    • MATCHES_PLAYED

      public static final DataType MATCHES_PLAYED
      Represents the total number of matches played.
    • REJECTING_DUELS

      public static final DataType REJECTING_DUELS
      Represents whether the player is rejecting duel requests.
    • PING_BASED_MATCHMAKING

      public static final DataType PING_BASED_MATCHMAKING
      Represents whether the player prefers ping-based matchmaking.
  • Method Details

    • values

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