|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.speexx.util.EqualsUtil
public final class EqualsUtil
Simple utilityclass for Object.equals(java.lang.Object)
handling.
© Copyright 2006 Sascha Kohlmann under the terms of the GNU LGPL
HashUtil| Constructor Summary | |
|---|---|
EqualsUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
isEquals(boolean own,
boolean other)
Equals two boolean objects. |
static boolean |
isEquals(byte own,
byte other)
Equals two byte objects. |
static boolean |
isEquals(char own,
char other)
Equals two char objects. |
static boolean |
isEquals(double own,
double other)
Equals two float objects. |
static boolean |
isEquals(float own,
float other)
Equals two float objects. |
static boolean |
isEquals(int own,
int other)
Equals two int objects. |
static boolean |
isEquals(long own,
long other)
Equals two long objects. |
static boolean |
isEquals(Object own,
Object other)
Equals two Objects wich may possible null. |
static boolean |
isEquals(short own,
short other)
Equals two short objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EqualsUtil()
| Method Detail |
|---|
public static boolean isEquals(boolean own,
boolean other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(char own,
char other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(byte own,
byte other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(short own,
short other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(int own,
int other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(long own,
long other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(float own,
float other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(double own,
double other)
own - the own objectother - the other object
true if both are equals. Otherwise
false.
public static boolean isEquals(Object own,
Object other)
null. The
implementation dows'nt equals arrays. Use Arrays for
equals test of arrays.
own - the own objectother - the other object
true if both are equals. Otherwise
false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||