org.openjena.atlas.lib
Class Lib

java.lang.Object
  extended by org.openjena.atlas.lib.Lib

public class Lib
extends java.lang.Object


Method Summary
static java.lang.String className(java.lang.Object obj)
           
static java.lang.String classShortName(java.lang.Class<?> cls)
           
static int decodeIndex(int i)
          Decode an index returning the insertion point when not found
static int encodeIndex(int i)
          Encode an index (the insertion point) when not found
static
<T> boolean
equals(T obj1, T obj2)
           
static int hashCodeObject(java.lang.Object obj)
          HashCode - allow nulls
static int hashCodeObject(java.lang.Object obj, int nullHashCode)
          HashCode - allow nulls
static void sleep(int milliSeconds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encodeIndex

public static final int encodeIndex(int i)
Encode an index (the insertion point) when not found


decodeIndex

public static final int decodeIndex(int i)
Decode an index returning the insertion point when not found


equals

public static final <T> boolean equals(T obj1,
                                       T obj2)

className

public static final java.lang.String className(java.lang.Object obj)

classShortName

public static final java.lang.String classShortName(java.lang.Class<?> cls)

hashCodeObject

public static final int hashCodeObject(java.lang.Object obj)
HashCode - allow nulls


hashCodeObject

public static final int hashCodeObject(java.lang.Object obj,
                                       int nullHashCode)
HashCode - allow nulls


sleep

public static final void sleep(int milliSeconds)


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP