|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.Vector | +--de.kosi.model.game.CardList
List of cards.
ChangeLog:
$Log: CardList.java,v $ Revision 1.4 2001/06/15 12:06:10 betacarotine added serial version UIDs to Trick and CardList. Revision 1.3 2001/06/15 11:35:07 betacarotine added serialization support to the Trick Revision 1.2 2001/05/30 10:19:18 pizarro Updated Documentation. Revision 1.1 2001/05/23 13:00:39 betacarotine Restructured the implementation of the game interface.
Field Summary | |
static long |
serialVersionUID
Serial version id. |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
CardList(java.util.Collection c)
Creates a list of cards that contains the collection of given cards. |
Method Summary | |
boolean |
containsSuit(int suit)
Checks if the cardlist contains a card of the given suit |
Methods inherited from class java.util.Vector |
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
iterator, listIterator, listIterator |
Field Detail |
public static final long serialVersionUID
Constructor Detail |
public CardList(java.util.Collection c)
c
- the card collection that should be contained by this new instanceMethod Detail |
public boolean containsSuit(int suit)
suit
- the suit to check the cardlist for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |