|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectks.common.model.CardEnumeration
Returns an Enumeration of Card objects, from ACE-Club through KING-spades.
Creation date: (10/2/01 12:18:23 AM)
Constructor Summary | |
CardEnumeration()
Construct a CardEnumeration that will enumerate over all cards in a normal playing deck, starting from ACE of CLUBS through to KING of SPADES. |
Method Summary | |
boolean |
hasMoreElements()
Returns true if there are more Cards in this Enumeration. |
java.lang.Object |
nextElement()
Returns the current Card in the Enumeration and moves on. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CardEnumeration()
Method Detail |
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |