org.kahina.core.util
Class Utilities

java.lang.Object
  extended by org.kahina.core.util.Utilities

public class Utilities
extends Object


Constructor Summary
Utilities()
           
 
Method Summary
static boolean equal(Object one, Object another)
           
static int hashCode(Object... objects)
           
static int hashCode(Object object)
           
static String join(String glue, Iterable<?> pieces)
           
static int nullToZero(Integer integer)
           
static List<String> portrayStackTrace(Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

equal

public static boolean equal(Object one,
                            Object another)

hashCode

public static int hashCode(Object... objects)

hashCode

public static int hashCode(Object object)

portrayStackTrace

public static List<String> portrayStackTrace(Throwable t)

join

public static String join(String glue,
                          Iterable<?> pieces)

nullToZero

public static int nullToZero(Integer integer)