public class PerfectHand extends Object implements SimpleHand
| Constructor and Description |
|---|
PerfectHand(int size) |
PerfectHand(PerfectHand hand) |
| Modifier and Type | Method and Description |
|---|---|
CardColour[] |
getColours(int slot) |
int |
getSize() |
Integer[] |
getValues(int slot) |
boolean |
isPossible(int slot,
CardColour colour) |
boolean |
isPossible(int slot,
Integer value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisPossiblepublic PerfectHand(PerfectHand hand)
public PerfectHand(int size)
public boolean isPossible(int slot,
Integer value)
isPossible in interface SimpleHandpublic int getSize()
getSize in interface SimpleHandpublic CardColour[] getColours(int slot)
getColours in interface SimpleHandpublic Integer[] getValues(int slot)
getValues in interface SimpleHandpublic boolean isPossible(int slot,
CardColour colour)
isPossible in interface SimpleHandCopyright © 2017 FOSS Galaxy. All rights reserved.