|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.ninm.games.cardgames.common.Card
|
+--org.ninm.games.cardgames.common.Joker
A special type of card
| Field Summary | |
private java.lang.Object |
m_jokerID
|
| Fields inherited from class org.ninm.games.cardgames.common.Card |
m_deckID, m_face, m_suit |
| Constructor Summary | |
Joker(java.lang.Object deckID,
java.lang.Object jokerID)
|
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
compares the members for equality |
int |
hashCode()
the hashcode based on the members |
| Methods inherited from class org.ninm.games.cardgames.common.Card |
getDeckID, getFace, getSuit, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
private final java.lang.Object m_jokerID
| Constructor Detail |
public Joker(java.lang.Object deckID,
java.lang.Object jokerID)
| Method Detail |
public boolean equals(java.lang.Object other)
Card
equals in class CardObject.equals(Object)public int hashCode()
Card
hashCode in class CardObject.hashCode()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||