contextFold.common
Class Utils

java.lang.Object
  extended by contextFold.common.Utils

public class Utils
extends java.lang.Object


Constructor Summary
Utils()
           
 
Method Summary
static boolean floatEquals(float d1, float d2)
           
static boolean floatSmaller(float d1, float d2)
           
static
<T> T
load(java.lang.Class<T> objClass, java.lang.String inputFile)
           
static void save(java.io.Serializable toSave, java.lang.String outputFile)
           
 
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

floatEquals

public static boolean floatEquals(float d1,
                                  float d2)

floatSmaller

public static boolean floatSmaller(float d1,
                                   float d2)

save

public static void save(java.io.Serializable toSave,
                        java.lang.String outputFile)

load

public static <T> T load(java.lang.Class<T> objClass,
                         java.lang.String inputFile)
              throws java.io.IOException,
                     java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException