PokerSource Java API

org.pokersource.eval
Class AsianStudEval

java.lang.Object
  extended by org.pokersource.eval.AsianStudEval

public class AsianStudEval
extends java.lang.Object

Author:
Michael Maurer <mjmaurer@yahoo.com>

Method Summary
static long EvalHigh(int[] ranks, int[] suits)
          Evaluate an asian stud deck poker hand for high.
static void main(java.lang.String[] args)
          A simple demonstration of AsianStudEval methods.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

EvalHigh

public static long EvalHigh(int[] ranks,
                            int[] suits)
Evaluate an asian stud deck poker hand for high.

Parameters:
ranks - ranks[i] is rank of ith card
suits - suits[i] is suit of ith card
Returns:
integer code denoting hand value (higher beats lower)

main

public static void main(java.lang.String[] args)
A simple demonstration of AsianStudEval methods.


PokerSource Java API

PokerSource Home Page - Learn how you can contribute!