cz.cuni.amis.pogamut.ut2004.tournament
Enum UT2004MatchConsole.MatchType

Package class diagram package UT2004MatchConsole.MatchType
java.lang.Object
  extended by java.lang.Enum<UT2004MatchConsole.MatchType>
      extended by cz.cuni.amis.pogamut.ut2004.tournament.UT2004MatchConsole.MatchType
All Implemented Interfaces:
Serializable, Comparable<UT2004MatchConsole.MatchType>
Enclosing class:
UT2004MatchConsole

public static enum UT2004MatchConsole.MatchType
extends Enum<UT2004MatchConsole.MatchType>


Enum Constant Summary
CTF
           
DD
           
DM
           
TDM
           
 
Method Summary
static UT2004MatchConsole.MatchType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UT2004MatchConsole.MatchType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DM

public static final UT2004MatchConsole.MatchType DM

TDM

public static final UT2004MatchConsole.MatchType TDM

CTF

public static final UT2004MatchConsole.MatchType CTF

DD

public static final UT2004MatchConsole.MatchType DD
Method Detail

values

public static UT2004MatchConsole.MatchType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (UT2004MatchConsole.MatchType c : UT2004MatchConsole.MatchType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UT2004MatchConsole.MatchType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.