Enum Class MatchType

java.lang.Object
java.lang.Enum<MatchType>
edu.ntnu.idatt1002.k1g4.enums.DivisionType
All Implemented Interfaces:
Serializable, Comparable<MatchType>, Constable

public enum MatchType extends Enum<MatchType>
The enum Match type.
  • Enum Constant Details

    • MennU16

      public static final MatchType MennU16
      Menn under 16 match type.
    • MennU18

      public static final MatchType MennU18
      Menn under 18 match type.
    • MennU21

      public static final MatchType MennU21
      Menn under 21 match type.
    • MennU23

      public static final MatchType MennU23
      Menn under 23 match type.
    • MennSenior

      public static final MatchType MennSenior
      Menn senior match type.
    • WomenU16

      public static final MatchType WomenU16
      Women under 16 match type.
    • WomenU18

      public static final MatchType WomenU18
      Women under 18 match type.
    • WomenU21

      public static final MatchType WomenU21
      Women under 21 match type.
    • WomenU23

      public static final MatchType WomenU23
      Women under 23 match type.
    • WomenSenior

      public static final MatchType WomenSenior
      Women senior match type.
    • Other

      public static final MatchType Other
      Other match type.
  • Method Details

    • values

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