|
-footer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgarrettsmith.playingcards.Card.Value
public static class Card.Value
Represents a card's value: two, queen, or ace, for example.
| Field Summary | |
|---|---|
static Card.Value |
ACE
Represents a ace. |
static Card.Value |
EIGHT
Represents a eight. |
static Card.Value |
FIVE
Represents a five. |
static Card.Value |
FOUR
Represents a four. |
static Card.Value |
JACK
Represents a jack. |
static Card.Value |
JOKER
Represents a joker. |
static Card.Value |
KING
Represents a king. |
static Card.Value |
NINE
Represents a nine. |
static Card.Value |
QUEEN
Represents a queen. |
static Card.Value |
SEVEN
Represents a seven. |
static Card.Value |
SIX
Represents a six. |
static Card.Value |
TEN
Represents a ten. |
static Card.Value |
THREE
Represents a three. |
static Card.Value |
TWO
Represents a two. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Returns whether object is equal to this Value. |
int |
hashCode()
Returns a hash value for this card. |
java.lang.String |
toString()
Returns a string repesentation. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Card.Value TWO
public static final Card.Value THREE
public static final Card.Value FOUR
public static final Card.Value FIVE
public static final Card.Value SIX
public static final Card.Value SEVEN
public static final Card.Value EIGHT
public static final Card.Value NINE
public static final Card.Value TEN
public static final Card.Value JACK
public static final Card.Value QUEEN
public static final Card.Value KING
public static final Card.Value ACE
public static final Card.Value JOKER
| Method Detail |
|---|
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectjava.lang.Object API specificationpublic java.lang.String toString()
toString in class java.lang.Object
|
-footer | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||