|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HandAnalysis.HandType>
ca.ualberta.cs.poker.free.dynamics.HandAnalysis.HandType
public static enum HandAnalysis.HandType
Enum Constant Summary | |
---|---|
FLUSH
|
|
FOUROFAKIND
|
|
FULLHOUSE
|
|
HIGHCARD
|
|
PAIR
|
|
STRAIGHT
|
|
STRAIGHTFLUSH
|
|
THREEOFAKIND
|
|
TWOPAIR
|
Method Summary | |
---|---|
boolean |
strongerThan(HandAnalysis.HandType other)
|
static HandAnalysis.HandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static HandAnalysis.HandType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HandAnalysis.HandType STRAIGHTFLUSH
public static final HandAnalysis.HandType FOUROFAKIND
public static final HandAnalysis.HandType FULLHOUSE
public static final HandAnalysis.HandType FLUSH
public static final HandAnalysis.HandType STRAIGHT
public static final HandAnalysis.HandType THREEOFAKIND
public static final HandAnalysis.HandType TWOPAIR
public static final HandAnalysis.HandType PAIR
public static final HandAnalysis.HandType HIGHCARD
Method Detail |
---|
public static final HandAnalysis.HandType[] values()
for(HandAnalysis.HandType c : HandAnalysis.HandType.values()) System.out.println(c);
public static HandAnalysis.HandType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic boolean strongerThan(HandAnalysis.HandType other)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |