Package | Description |
---|---|
org.apache.commons.lang3.builder |
Assists in creating consistent
equals(Object) , toString() , hashCode() , and compareTo(Object) methods. |
Modifier and Type | Method and Description |
---|---|
EqualsBuilder |
EqualsBuilder.append(boolean[] lhs,
boolean[] rhs)
Deep comparison of array of
boolean . |
EqualsBuilder |
EqualsBuilder.append(boolean lhs,
boolean rhs)
Test if two
booleans s are equal. |
EqualsBuilder |
EqualsBuilder.append(byte[] lhs,
byte[] rhs)
Deep comparison of array of
byte . |
EqualsBuilder |
EqualsBuilder.append(byte lhs,
byte rhs)
Test if two
byte s are equal. |
EqualsBuilder |
EqualsBuilder.append(char[] lhs,
char[] rhs)
Deep comparison of array of
char . |
EqualsBuilder |
EqualsBuilder.append(char lhs,
char rhs)
Test if two
char s are equal. |
EqualsBuilder |
EqualsBuilder.append(double[] lhs,
double[] rhs)
Deep comparison of array of
double . |
EqualsBuilder |
EqualsBuilder.append(double lhs,
double rhs)
Test if two
double s are equal by testing that the
pattern of bits returned by doubleToLong are equal. |
EqualsBuilder |
EqualsBuilder.append(float[] lhs,
float[] rhs)
Deep comparison of array of
float . |
EqualsBuilder |
EqualsBuilder.append(float lhs,
float rhs)
Test if two
float s are equal byt testing that the
pattern of bits returned by doubleToLong are equal. |
EqualsBuilder |
EqualsBuilder.append(int[] lhs,
int[] rhs)
Deep comparison of array of
int . |
EqualsBuilder |
EqualsBuilder.append(int lhs,
int rhs)
Test if two
int s are equal. |
EqualsBuilder |
EqualsBuilder.append(long[] lhs,
long[] rhs)
Deep comparison of array of
long . |
EqualsBuilder |
EqualsBuilder.append(long lhs,
long rhs)
Test if two
long s are equal. |
EqualsBuilder |
EqualsBuilder.append(Object[] lhs,
Object[] rhs)
Performs a deep comparison of two
Object arrays. |
EqualsBuilder |
EqualsBuilder.append(Object lhs,
Object rhs)
Test if two
Object s are equal using their
equals method. |
EqualsBuilder |
EqualsBuilder.append(short[] lhs,
short[] rhs)
Deep comparison of array of
short . |
EqualsBuilder |
EqualsBuilder.append(short lhs,
short rhs)
Test if two
short s are equal. |
EqualsBuilder |
EqualsBuilder.appendSuper(boolean superEquals)
Adds the result of
super.equals() to this builder. |
Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.