|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.tools.JavaTools
public final class JavaTools
Contains various tools concerning to Java utilities.
| Constructor Summary | |
|---|---|
JavaTools()
|
|
| Method Summary | ||
|---|---|---|
static boolean |
equals(Object o1,
Object o2)
Deprecated. superseded by the ObjectUtils class. |
|
static
|
getReferent(Reference<T> reference)
Returns object referred to by the reference. |
|
static int |
hashCode(Object o)
Deprecated. superseded by the ObjectUtils class. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaTools()
| Method Detail |
|---|
@Deprecated
public static boolean equals(Object o1,
Object o2)
ObjectUtils class.
null
then returns true if and only if o2 is null.
o1 - first objecto2 - second object
true if objects are equal or both
null.@Deprecated public static int hashCode(Object o)
ObjectUtils class.
o - object
null.public static <T> T getReferent(Reference<T> reference)
T - the referent type.reference - the reference. May be null.
null if there is no referent
available.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||