cz.cuni.amis.pogamut.ut2004.tournament.utils
Enum UT2004TournamentProperty

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

public enum UT2004TournamentProperty
extends Enum<UT2004TournamentProperty>

The key is returned via toString() method.

Author:
Jimmy

Enum Constant Summary
UT2004_DIR
          Directory containing compiled Pogamut classes for UT2004.
 
Method Summary
 String getKey()
           
 String toString()
           
static UT2004TournamentProperty valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UT2004TournamentProperty[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UT2004_DIR

public static final UT2004TournamentProperty UT2004_DIR
Directory containing compiled Pogamut classes for UT2004. It is a root directory containing various directories with revisions of certain Pogamut projects (Core/Unreal/UT2004/SPOSHs/ACTrs).

Method Detail

values

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

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

valueOf

public static UT2004TournamentProperty 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

getKey

public String getKey()

toString

public String toString()
Overrides:
toString in class Enum<UT2004TournamentProperty>


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