cz.cuni.amis.pogamut.ut2004.tournament.match
Enum UT2004MatchConfig.BotType

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

public static enum UT2004MatchConfig.BotType
extends Enum<UT2004MatchConfig.BotType>


Enum Constant Summary
BOT
           
HUMAN
           
NATIVE
           
 
Method Summary
static UT2004MatchConfig.BotType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UT2004MatchConfig.BotType[] 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

BOT

public static final UT2004MatchConfig.BotType BOT

NATIVE

public static final UT2004MatchConfig.BotType NATIVE

HUMAN

public static final UT2004MatchConfig.BotType HUMAN
Method Detail

values

public static UT2004MatchConfig.BotType[] 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 (UT2004MatchConfig.BotType c : UT2004MatchConfig.BotType.values())
    System.out.println(c);

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

valueOf

public static UT2004MatchConfig.BotType 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.