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, setKnownValue
bindCard, getCard, getSize, hasCard, hasColour, hasValue, init, isCompletePossible, iterator, setCard, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TimedHand(TimedHand hand)
public TimedHand(int size)
public void setHasCard(int slot, boolean value)
Hand
setHasCard
in interface Hand
setHasCard
in class BasicHand
slot
- 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 NegativeHand
public int hashCode()
hashCode
in class NegativeHand
Copyright © 2017 FOSS Galaxy. All rights reserved.