|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javaflair.pokerprophesier.api.helper.MyHandHelper
public class MyHandHelper
A helper which contains the analysis of my current hand.
The helper can not be instantiated directly, rather a reference must be
retrieved from the
PokerProphesierAdapter
after the
PokerProphesierAdapter.runMySimulations(HoleCards, CommunityCards, int, int)
simulator method is executed.
The helper is populated in all game states.
PokerProphesierAdapter,
PokerProphesierAdapter.getMyHandHelper()| Method Summary | |
|---|---|
CommunityCards |
getCommunityCards()
Returns the community cards. |
Hand |
getHand()
Returns the hand. |
Card[] |
getHandCards()
Returns the cards which make up the hand. |
Card[] |
getHandCommunityCards()
Returns the community cards used in the hand. |
Card[] |
getHandHoleCards()
Returns the hole cards used in the hand. |
int |
getHandRank()
Returns the hand rank. |
HoleCards |
getHoleCards()
Returns my hole cards. |
Card[] |
getKickerCards()
Returns the kicker (least significant) cards in the hand. |
Card[] |
getSignificantCards()
Returns the significant cards in the hand. |
Card |
getTopHoleCardKicker()
Returns the top hole card kicker (if there is one). |
boolean |
isBottomPair()
Returns a boolean indicating whether the pair is bottom pair (the hole card is matched with the lowest card on the board). |
boolean |
isFlushDraw()
Returns a boolean indicating whether the hand is a flush draw. |
boolean |
isHoleCardHand()
Returns a boolean indicating whether the significant cards of the hand include at least one hole card, meaning that the significant part of the hand is not solely on the board and shared amongst all players. |
boolean |
isMiddlePair()
Returns a boolean indicating whether the pair is middle pair (the hole card is paired with a card between the highest and lowest card on the board). |
boolean |
isOverPair()
Returns a boolean indicating whether the hole cards pocket pair is an over pair (higher than the highest card on the board). |
boolean |
isPocketPair()
Returns a boolean indicating whether the hole cards are a pocket pair. |
boolean |
isSecondPair()
Returns a boolean indicating whether the hole cards pocket pair is second pair (between the highest and second highest cards on the board). |
boolean |
isSet()
Returns a boolean indicating whether the three-of-a-kind is a set (matching a pocket pair with a card on the board). |
boolean |
isStraightDraw()
Returns a boolean indicating whether the hand is a straight draw. |
boolean |
isStraightFlushDraw()
Returns a boolean indicating whether the hand is a straight flush draw. |
boolean |
isTheNuts()
Returns a boolean indicating whether the hand is currently The Nuts, given my hole cards, the community cards dealt and the possible hole cards an opponent could have. |
boolean |
isTopHoleCardKickerAce()
Returns a boolean indicating whether the top hole card kicker is an ace. |
boolean |
isTopKickerHoleCard()
Returns a boolean indicating whether the top kicker in the hand is a hole card rather than a community card. |
boolean |
isTopPair()
Returns a boolean indicating whether the pair is top pair (the hole card is paired with the highest card on the board). |
boolean |
isTrips()
Returns a boolean indicating whether the three-of-a-kind is trips (matching one hole card with a pair on the board). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public HoleCards getHoleCards()
HoleCardspublic CommunityCards getCommunityCards()
CommunityCardspublic Hand getHand()
Handpublic Card[] getHandCards()
public int getHandRank()
public Card[] getHandHoleCards()
public Card[] getHandCommunityCards()
public Card[] getSignificantCards()
public boolean isHoleCardHand()
public boolean isTheNuts()
public boolean isStraightDraw()
public boolean isFlushDraw()
public boolean isStraightFlushDraw()
public boolean isTrips()
public boolean isSet()
public boolean isTopPair()
public boolean isMiddlePair()
public boolean isBottomPair()
public boolean isPocketPair()
public boolean isOverPair()
public boolean isSecondPair()
public Card[] getKickerCards()
public Card getTopHoleCardKicker()
public boolean isTopKickerHoleCard()
public boolean isTopHoleCardKickerAce()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||