com.openholdem.structs
Class RuleSet.HandRank

java.lang.Object
  extended by com.openholdem.structs.RuleSet.HandRank
All Implemented Interfaces:
java.lang.Comparable
Enclosing class:
RuleSet

public class RuleSet.HandRank
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
RuleSet.HandRank()
           
RuleSet.HandRank(int rank, java.lang.String name)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getFHandName()
           
 int getFRank()
           
 int hashCode()
           
 void setFHandName(java.lang.String handName)
           
 void setFRank(int rank)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleSet.HandRank

public RuleSet.HandRank()

RuleSet.HandRank

public RuleSet.HandRank(int rank,
                        java.lang.String name)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getFHandName

public java.lang.String getFHandName()
Returns:
Returns the fHandName.

setFHandName

public void setFHandName(java.lang.String handName)
Parameters:
handName - The fHandName to set.

getFRank

public int getFRank()
Returns:
Returns the fRank.

setFRank

public void setFRank(int rank)
Parameters:
rank - The fRank to set.


Copyright © 2005-2007 Pagemewhen.com. All Rights Reserved.