| Package | Description |
|---|---|
| ball.game.card |
Classes for playing card games.
|
| ball.game.card.poker |
Classes specific to Poker.
|
| Modifier and Type | Field and Description |
|---|---|
static Predicate<List<Card>> |
Card.Rank.SAME
|
static Predicate<List<Card>> |
Card.Color.SAME
|
static Predicate<List<Card>> |
Card.Suit.SAME
|
static Predicate<List<Card>> |
Card.Rank.SEQUENCE
|
| Modifier and Type | Method and Description |
|---|---|
static Card |
Card.parse(String string)
|
Card[] |
Deck.toArray() |
| Modifier and Type | Method and Description |
|---|---|
int |
Card.compareTo(Card that) |
boolean |
Card.Rank.test(Card card) |
boolean |
Card.Color.test(Card card) |
boolean |
Card.Suit.test(Card card) |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<Card> |
Evaluator.CARD
|
static Comparator<List<Card>> |
Evaluator.HAND
|
Predicate<Card> |
Poker.ONE_EYED_JACK
|
Predicate<Card> |
Poker.ONE_EYED_KING
|
Predicate<Card> |
Poker.SUICIDE_KING
|
| Modifier and Type | Method and Description |
|---|---|
List<Card> |
Ranking.find(Collection<Card> collection)
|
List<Card> |
Evaluator.getHand()
|
List<Card> |
Evaluator.getScoring()
|
Predicate<List<Card>> |
Ranking.possible()
|
| Modifier and Type | Method and Description |
|---|---|
void |
Evaluator.accept(List<Card> list) |
List<Card> |
Ranking.find(Collection<Card> collection)
|
boolean |
Ranking.test(List<Card> list) |
boolean |
Evaluator.test(List<Card> prefix) |
| Constructor and Description |
|---|
Evaluator(Collection<Card> collection)
Sole public constructor.
|
Evaluator(Collection<Card> collection,
Ranking... rankings)
Protected constructor to search for specific
Ranking(s). |
Copyright © 2015–2020 Allen D. Ball. All rights reserved.