org.pokersource.eval
Class StandardEval
java.lang.Object
org.pokersource.eval.StandardEval
public class StandardEval
extends java.lang.Object
static long | EvalHigh(int[] ranks, int[] suits) - Evaluate a standard deck poker hand for high.
|
static long | EvalLow(int[] ranks, int[] suits) - Evaluate a standard deck poker hand for low (no qualifier).
|
static long | EvalLow8(int[] ranks, int[] suits) - Evaluate a standard deck poker hand for low (8 qualifier).
|
static void | main(String[] args) - A simple demonstration of StandardEval methods.
|
EvalHigh
public static long EvalHigh(int[] ranks,
int[] suits)
Evaluate a standard deck poker hand for high.
ranks
- ranks[i] is rank of ith cardsuits
- suits[i] is suit of ith card
- integer code denoting hand value (higher beats lower)
EvalLow
public static long EvalLow(int[] ranks,
int[] suits)
Evaluate a standard deck poker hand for low (no qualifier).
ranks
- ranks[i] is rank of ith cardsuits
- suits[i] is suit of ith card
- integer code denoting hand value (higher beats lower)
EvalLow8
public static long EvalLow8(int[] ranks,
int[] suits)
Evaluate a standard deck poker hand for low (8 qualifier).
ranks
- ranks[i] is rank of ith cardsuits
- suits[i] is suit of ith card
- integer code denoting hand value (higher beats lower)
main
public static void main(String[] args)
A simple demonstration of StandardEval methods.
PokerSource Home Page - Learn how you can contribute!