yab.agent
Class Util
java.lang.Object
|
+--yab.agent.Util
- public class Util
- extends Object
Constructor Summary |
Util()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Util
public Util()
distance
public static final int distance(RealObject from,
RealObject to)
direction
public static final int direction(RealObject from,
RealObject to)
classBaseName
public static String classBaseName(Object obj)
max
public static int max(int x,
int y)
min
public static int min(int x,
int y)
randomChoice
public static Object randomChoice(Collection col,
Random random)