Modifier and Type | Method and Description |
---|---|
static Rps |
Rps.defeats(Rps other)
Returns the hand that defeats the given hand.
|
Modifier and Type | Method and Description |
---|---|
int |
Rps.compare(Rps other)
Compares this hand to some other hand.
|
static Rps |
Rps.defeats(Rps other)
Returns the hand that defeats the given hand.
|
Constructor and Description |
---|
Rps(Rps other)
Construct a hand that is a copy of the
other hand. |