|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Card | |
|---|---|
| com.javaflair.pokerprophesier.api.card | Contains classes which represent a game of poker (card, deck, hand etc.). |
| com.javaflair.pokerprophesier.api.helper | Contains helper class which are populated after each simulation. |
| Uses of Card in com.javaflair.pokerprophesier.api.card |
|---|
| Methods in com.javaflair.pokerprophesier.api.card that return Card | |
|---|---|
Card[] |
CommunityCards.getCards()
Returns the set of community cards as an array of cards. |
Card[] |
Hand.getCards()
Returns the cards in the hand. |
Card[] |
HoleCards.getCards()
Returns both hole cards. |
static Card[] |
Deck.getCroppedDeck(Card[] usedCards)
Returns a full deck of cards with the specified array of used cards removed. |
static Card[] |
Deck.getCroppedDeck(Card[] deck,
Card[] usedCards)
Returns the deck of cards with the specified array of used cards removed. |
Card |
HoleCards.getFirstCard()
Returns the first hole card. |
static Card[] |
Deck.getFullDeck()
Returns a full deck of ordered cards. |
Card |
HoleCards.getSecondCard()
Returns the second hole card. |
static Card[] |
Deck.getShuffledDeck(Card[] deck)
Shuffles and then returns the specified deck of cards. |
| Methods in com.javaflair.pokerprophesier.api.card with parameters of type Card | |
|---|---|
void |
CommunityCards.add(Card card)
Adds the card to the existing set of community cards. |
static Card[] |
Deck.getCroppedDeck(Card[] usedCards)
Returns a full deck of cards with the specified array of used cards removed. |
static Card[] |
Deck.getCroppedDeck(Card[] deck,
Card[] usedCards)
Returns the deck of cards with the specified array of used cards removed. |
static Card[] |
Deck.getCroppedDeck(Card[] deck,
Card[] usedCards)
Returns the deck of cards with the specified array of used cards removed. |
static Card[] |
Deck.getShuffledDeck(Card[] deck)
Shuffles and then returns the specified deck of cards. |
static String |
Deck.toString(Card[] deck)
Returns a String representation of the specified deck of cards. |
| Constructors in com.javaflair.pokerprophesier.api.card with parameters of type Card | |
|---|---|
CommunityCards(Card[] cards)
Creates a set of community cards, using the specified array of cards. |
|
Hand(int handRank,
Card[] cards)
Creates a hand with the specified rank and set of cards. |
|
HoleCards(Card firstCard,
Card secondCard)
Create a HoleCards instance with the specified hole cards. |
|
| Uses of Card in com.javaflair.pokerprophesier.api.helper |
|---|
| Methods in com.javaflair.pokerprophesier.api.helper that return Card | |
|---|---|
Card[][] |
MyOutsHelper.getAllOuts()
Returns all of the out arrays in an array, in descending hand order (straight flush, four-of-a-kind etc.). |
Card[] |
MyOutsHelper.getFlushOuts()
Returns the outs to make a flush. |
Card[] |
MyOutsHelper.getFourOfAKindOuts()
Returns the outs to make four-of-a-kind. |
Card[] |
MyOutsHelper.getFullHouseOuts()
Returns the outs to make a full house. |
Card[] |
MyHandHelper.getHandCards()
Returns the cards which make up the hand. |
Card[] |
MyHandHelper.getHandCommunityCards()
Returns the community cards used in the hand. |
Card[] |
MyHandHelper.getHandHoleCards()
Returns the hole cards used in the hand. |
Card[] |
MyOutsHelper.getHighCardOuts()
Returns the outs to make a high card hand. |
Card[] |
MyHandHelper.getKickerCards()
Returns the kicker (least significant) cards in the hand. |
Card[] |
MyOutsHelper.getPairOuts()
Returns the outs to make a pair. |
Card[] |
MyHandHelper.getSignificantCards()
Returns the significant cards in the hand. |
Card[] |
MyOutsHelper.getStraightFlushOuts()
Returns the outs to make a flush. |
Card[] |
MyOutsHelper.getStraightOuts()
Returns the outs to make a straight. |
Card[] |
MyOutsHelper.getThreeOfAKindOuts()
Returns the outs to make three-of-a-kind. |
Card |
MyHandHelper.getTopHoleCardKicker()
Returns the top hole card kicker (if there is one). |
Card[] |
MyOutsHelper.getTwoPairsOuts()
Returns the outs to make two pairs. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||