|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjlibs.core.lang.Util
public class Util
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | ||
|---|---|---|
static
|
clone(T obj)
|
|
static boolean |
equals(Object obj1,
Object obj2)
Returns true if given two objects are same. |
|
static int |
hashCode(Object... objects)
returns hashCode of given arguments. |
|
static int |
hashCode(Object obj)
returns hashCode of given argument. |
|
static
|
notNull(T... values)
Returns first non null element in values. |
|
static long |
parseLong(String value)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static <T> T notNull(T... values)
values.
If all elements are null, it returns null.
public static boolean equals(Object obj1,
Object obj2)
public static int hashCode(Object obj)
public static int hashCode(Object... objects)
public static <T> T clone(T obj)
throws CloneNotSupportedException
CloneNotSupportedExceptionpublic static long parseLong(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||