com.javaflair.pokerprophesier.api.helper
Class MyOutsHelper

java.lang.Object
  extended by com.javaflair.pokerprophesier.api.helper.MyOutsHelper

public class MyOutsHelper
extends Object

A helper which contains the details of my current outs. The outs are determined by performing a mathematical enumeration of all possible hands that can be dealt, subject to the simulator configuration parameters.

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 during the following game states: PokerProphesierAdapter.FLOP_CARDS_DEALT and PokerProphesierAdapter.TURN_CARD_DEALT.

Author:
Javaflair
See Also:
PokerProphesierAdapter, PokerProphesierAdapter.getMyOutsHelper()

Method Summary
 Card[][] getAllOuts()
          Returns all of the out arrays in an array, in descending hand order (straight flush, four-of-a-kind etc.).
 Card[] getFlushOuts()
          Returns the outs to make a flush.
 Card[] getFourOfAKindOuts()
          Returns the outs to make four-of-a-kind.
 Card[] getFullHouseOuts()
          Returns the outs to make a full house.
 Card[] getHighCardOuts()
          Returns the outs to make a high card hand.
 Card[] getPairOuts()
          Returns the outs to make a pair.
 Card[] getStraightFlushOuts()
          Returns the outs to make a flush.
 Card[] getStraightOuts()
          Returns the outs to make a straight.
 Card[] getThreeOfAKindOuts()
          Returns the outs to make three-of-a-kind.
 int getTotalNumOuts()
          Returns the total number of outs.
 Card[] getTwoPairsOuts()
          Returns the outs to make two pairs.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getHighCardOuts

public Card[] getHighCardOuts()
Returns the outs to make a high card hand.

Returns:
the array of out cards

getPairOuts

public Card[] getPairOuts()
Returns the outs to make a pair.

Returns:
the array of out cards

getTwoPairsOuts

public Card[] getTwoPairsOuts()
Returns the outs to make two pairs.

Returns:
the array of out cards

getThreeOfAKindOuts

public Card[] getThreeOfAKindOuts()
Returns the outs to make three-of-a-kind.

Returns:
the array of out cards

getStraightOuts

public Card[] getStraightOuts()
Returns the outs to make a straight.

Returns:
the array of out cards

getFlushOuts

public Card[] getFlushOuts()
Returns the outs to make a flush.

Returns:
the array of out cards

getFullHouseOuts

public Card[] getFullHouseOuts()
Returns the outs to make a full house.

Returns:
the array of out cards

getFourOfAKindOuts

public Card[] getFourOfAKindOuts()
Returns the outs to make four-of-a-kind.

Returns:
the array of out cards

getStraightFlushOuts

public Card[] getStraightFlushOuts()
Returns the outs to make a flush.

Returns:
the array of out cards

getTotalNumOuts

public int getTotalNumOuts()
Returns the total number of outs.

Returns:
the total number of outs

getAllOuts

public Card[][] getAllOuts()
Returns all of the out arrays in an array, in descending hand order (straight flush, four-of-a-kind etc.).

Returns:
the array of out arrays

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006 Javaflair. All Rights Reserved.