lib.utils
Class Utils

java.lang.Object
  extended by lib.utils.Utils

public class Utils
extends java.lang.Object

useful generic utility tools


Constructor Summary
Utils()
           
 
Method Summary
static Point indexToPoint(int index, int width)
           
static int pointToIndex(Point point, int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

indexToPoint

public static Point indexToPoint(int index,
                                 int width)

pointToIndex

public static int pointToIndex(Point point,
                               int width)