Package | Description |
---|---|
ball.game.card |
Classes for playing card games.
|
Modifier and Type | Method and Description |
---|---|
Card.Suit |
Card.getSuit()
|
static Card.Suit |
Card.Suit.parse(String string)
|
static Card.Suit |
Card.Suit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Card.Suit[] |
Card.Suit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<Card.Suit> |
Card.Suit.is(Card.Suit suit)
|
Modifier and Type | Method and Description |
---|---|
static Predicate<Card.Suit> |
Card.Suit.is(Card.Suit suit)
|
Constructor and Description |
---|
Card(Card.Suit suit,
Card.Rank rank)
Sole protected constructor.
|
Copyright © 2015–2020 Allen D. Ball. All rights reserved.