Package | Description |
---|---|
ball.game.card |
Classes for playing card games.
|
Modifier and Type | Field and Description |
---|---|
static List<Card.Rank> |
Card.Rank.ACE_HIGH
|
static List<Card.Rank> |
Card.Rank.ACE_LOW
|
Modifier and Type | Method and Description |
---|---|
Card.Rank |
Card.getRank()
|
static Card.Rank |
Card.Rank.parse(String string)
|
static Card.Rank |
Card.Rank.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Card.Rank[] |
Card.Rank.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.Rank> |
Card.Rank.is(Card.Rank rank)
|
Modifier and Type | Method and Description |
---|---|
static Predicate<Card.Rank> |
Card.Rank.is(Card.Rank rank)
|
Constructor and Description |
---|
Card(Card.Suit suit,
Card.Rank rank)
Sole protected constructor.
|
Copyright © 2015–2020 Allen D. Ball. All rights reserved.