Java Utililty Methods Number Equal

List of utility methods to do Number Equal

Description

The list of methods to do Number Equal are organized into topic(s).

Method

booleanareEqual(boolean aThis, boolean aThat)
are Equal
return aThis == aThat;
booleanareEqual(boolean aThis, boolean aThat)
Equals for boolean fields.
return aThis == aThat;
booleanareEqual(boolean aThis, boolean aThat)
are Equal
return aThis == aThat;
booleanareEqual(boolean c1, boolean c2)
are Equal
return c1 == c2;
booleanareEqual(double d1, double d2)
are Equal
return ((d1 + EQUALITY_TOLERANS >= d2) && (d1 - EQUALITY_TOLERANS <= d2));
booleanareEqual(double one, double two)
are Equal
return Math.abs(one - two) < ACCURACY;
booleanareEqual(final boolean aThis, final boolean aThat)
are Equal
return aThis == aThat;
booleanareEqual(final char aThis, final char aThat)
are Equal
return aThis == aThat;
booleanareEqual(float left, float right)
are Equal
return Math.abs(left - right) < 0.00001f;
booleanareEqual(int align, int mask)
Checks if mask is part of align Creation date: (2000-07-20 15:21:22)
if ((align & mask) != 0)
    return true;
return false;