public class TimedHand extends NegativeHand
| Constructor and Description |
|---|
TimedHand(int size) |
TimedHand(TimedHand hand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getAge(int i) |
int |
getNewestSlot() |
int |
getOldestSlot() |
int |
hashCode() |
void |
setHasCard(int slot,
boolean value)
Sets whether the hand has a card in this slot.
|
getKnownColour, getKnownValue, getPossibleColours, getPossibleValues, isPossible, setKnownColour, setKnownValuebindCard, getCard, getSize, hasCard, hasColour, hasValue, init, isCompletePossible, iterator, setCard, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic TimedHand(TimedHand hand)
public TimedHand(int size)
public void setHasCard(int slot,
boolean value)
HandsetHasCard in interface HandsetHasCard in class BasicHandslot - The slot to setvalue - The presence or not of a cardpublic int getOldestSlot()
public int getNewestSlot()
public int getAge(int i)
public boolean equals(Object o)
equals in class NegativeHandpublic int hashCode()
hashCode in class NegativeHandCopyright © 2017 FOSS Galaxy. All rights reserved.