com.asdf.common
Enum PokerGameTypes

java.lang.Object
  extended by java.lang.Enum<PokerGameTypes>
      extended by com.asdf.common.PokerGameTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PokerGameTypes>

public enum PokerGameTypes
extends java.lang.Enum<PokerGameTypes>


Enum Constant Summary
FIVE_CARD_DRAW_FIXED_LIMIT
           
FIVE_CARD_DRAW_NO_LIMIT
           
FIVE_CARD_DRAW_POT_LIMIT
           
HOLDEM_FIXED_LIMIT
           
HOLDEM_NO_LIMIT
           
HOLDEM_POT_LIMIT
           
OMAHA_FIXED_LIMIT
           
OMAHA_NO_LIMIT
           
OMAHA_POT_LIMIT
           
SEVEN_CARD_DRAW_FIXED_LIMIT
           
SEVEN_CARD_DRAW_NO_LIMIT
           
SEVEN_CARD_DRAW_POT_LIMIT
           
SEVEN_CARD_STUD_FIXED_LIMIT
           
SEVEN_CARD_STUD_NO_LIMIT
           
SEVEN_CARD_STUD_POT_LIMIT
           
 
Method Summary
 boolean isDiscardable()
           
 boolean isFixedLimit()
           
 boolean isHoldem()
           
 boolean isNoLimit()
           
 boolean isPokerGame()
           
 boolean isPotLimit()
           
static PokerGameTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PokerGameTypes[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HOLDEM_NO_LIMIT

public static final PokerGameTypes HOLDEM_NO_LIMIT

HOLDEM_FIXED_LIMIT

public static final PokerGameTypes HOLDEM_FIXED_LIMIT

HOLDEM_POT_LIMIT

public static final PokerGameTypes HOLDEM_POT_LIMIT

FIVE_CARD_DRAW_NO_LIMIT

public static final PokerGameTypes FIVE_CARD_DRAW_NO_LIMIT

FIVE_CARD_DRAW_POT_LIMIT

public static final PokerGameTypes FIVE_CARD_DRAW_POT_LIMIT

FIVE_CARD_DRAW_FIXED_LIMIT

public static final PokerGameTypes FIVE_CARD_DRAW_FIXED_LIMIT

SEVEN_CARD_DRAW_NO_LIMIT

public static final PokerGameTypes SEVEN_CARD_DRAW_NO_LIMIT

SEVEN_CARD_DRAW_POT_LIMIT

public static final PokerGameTypes SEVEN_CARD_DRAW_POT_LIMIT

SEVEN_CARD_DRAW_FIXED_LIMIT

public static final PokerGameTypes SEVEN_CARD_DRAW_FIXED_LIMIT

SEVEN_CARD_STUD_NO_LIMIT

public static final PokerGameTypes SEVEN_CARD_STUD_NO_LIMIT

SEVEN_CARD_STUD_FIXED_LIMIT

public static final PokerGameTypes SEVEN_CARD_STUD_FIXED_LIMIT

SEVEN_CARD_STUD_POT_LIMIT

public static final PokerGameTypes SEVEN_CARD_STUD_POT_LIMIT

OMAHA_NO_LIMIT

public static final PokerGameTypes OMAHA_NO_LIMIT

OMAHA_FIXED_LIMIT

public static final PokerGameTypes OMAHA_FIXED_LIMIT

OMAHA_POT_LIMIT

public static final PokerGameTypes OMAHA_POT_LIMIT
Method Detail

values

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

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

valueOf

public static PokerGameTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isHoldem

public boolean isHoldem()

isPokerGame

public boolean isPokerGame()

isFixedLimit

public boolean isFixedLimit()

isDiscardable

public boolean isDiscardable()

isNoLimit

public boolean isNoLimit()

isPotLimit

public boolean isPotLimit()