ictk.boardgame.chess.net.ics
Class ICSRating
java.lang.Object
ictk.boardgame.chess.net.ics.ICSRating
- public class ICSRating
- extends java.lang.Object
Ratings are playing strength estimates on the server.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ICSRating
public ICSRating()
ICSRating
public ICSRating(java.lang.String s)
throws java.lang.NumberFormatException
set
public void set(int rate)
get
public int get()
- gets the numeric rating. If no number is applicable such as the
case for unset ratings then a 0 is returned.
isNotSet
public boolean isNotSet()
isNotApplicable
public boolean isNotApplicable()
isProvisional
public boolean isProvisional()
isEstimated
public boolean isEstimated()
setNotApplicable
public void setNotApplicable(boolean t)
setProvisional
public void setProvisional(boolean t)
setEstimated
public void setEstimated(boolean t)
set
public void set(java.lang.String s)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
toString
public java.lang.String toString()