|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectctf.evaluation.STEAL
public class STEAL
The STEAL protocol
Field Summary | |
---|---|
static int |
PLAYERS_PER_TEAM
|
static int |
TREES_PER_SIDE
|
Constructor Summary | |
---|---|
STEAL()
|
Method Summary | |
---|---|
static java.lang.String |
floatToString(double f)
Format a STEAL Float (from double) |
static java.lang.String |
floatToString(float f)
Format a STEAL Float |
static java.lang.String |
intToString(int i)
Format a STEAL Integer |
static double |
oldVersion()
What's an [unacceptably] old version of the protocol? |
static double |
parseFloat(java.lang.String s)
Parse a STEAL floating-point number |
static int |
parseInt(java.lang.String s)
Parse a STEAL integer |
static double |
version()
What version of STEAL are we speaking? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int PLAYERS_PER_TEAM
public static int TREES_PER_SIDE
Constructor Detail |
---|
public STEAL()
Method Detail |
---|
public static double version()
public static double oldVersion()
public static java.lang.String intToString(int i)
public static java.lang.String floatToString(float f)
public static java.lang.String floatToString(double f)
public static int parseInt(java.lang.String s) throws ProtocolError
ProtocolError
public static double parseFloat(java.lang.String s) throws ProtocolError
ProtocolError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |