Java org.apache.commons.lang3.builder EqualsBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang3.builder EqualsBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang3.builder EqualsBuilder.

The text is from its open source code.

Subclass

org.apache.commons.lang3.builder.EqualsBuilder has subclasses.
Click this link to see all its subclasses.

Field

booleanisEquals
If the fields tested are equals.

Constructor

EqualsBuilder()

Constructor for EqualsBuilder.

Starts off assuming that equals is true.

Method

EqualsBuilderappend(final Object lhs, final Object rhs)

Test if two Objects are equal using their equals method.

EqualsBuilderappend(final long lhs, final long rhs)

Test if two long s are equal.

EqualsBuilderappend(final int lhs, final int rhs)

Test if two ints are equal.

EqualsBuilderappend(final short lhs, final short rhs)

Test if two shorts are equal.

EqualsBuilderappend(final char lhs, final char rhs)

Test if two chars are equal.

EqualsBuilderappend(final byte lhs, final byte rhs)

Test if two bytes are equal.

EqualsBuilderappend(final double lhs, final double rhs)

Test if two doubles are equal by testing that the pattern of bits returned by doubleToLong are equal.

This handles NaNs, Infinities, and -0.0.

It is compatible with the hash code generated by HashCodeBuilder.

EqualsBuilderappend(final float lhs, final float rhs)

Test if two floats are equal byt testing that the pattern of bits returned by doubleToLong are equal.

This handles NaNs, Infinities, and -0.0.

It is compatible with the hash code generated by HashCodeBuilder.

EqualsBuilderappend(final boolean lhs, final boolean rhs)

Test if two booleanss are equal.

EqualsBuilderappend(final Object[] lhs, final Object[] rhs)

Performs a deep comparison of two Object arrays.

This also will be called for the top level of multi-dimensional, ragged, and multi-typed arrays.

EqualsBuilderappend(final long[] lhs, final long[] rhs)

Deep comparison of array of long.

EqualsBuilderappend(final int[] lhs, final int[] rhs)

Deep comparison of array of int.

EqualsBuilderappend(final short[] lhs, final short[] rhs)

Deep comparison of array of short.

EqualsBuilderappend(final char[] lhs, final char[] rhs)

Deep comparison of array of char.

EqualsBuilderappend(final byte[] lhs, final byte[] rhs)

Deep comparison of array of byte.

EqualsBuilderappend(final double[] lhs, final double[] rhs)

Deep comparison of array of double.

EqualsBuilderappend(final float[] lhs, final float[] rhs)

Deep comparison of array of float.

EqualsBuilderappend(final boolean[] lhs, final boolean[] rhs)

Deep comparison of array of boolean.

EqualsBuilderappendSuper(final boolean superEquals)

Adds the result of super.equals() to this builder.

Booleanbuild()

Returns true if the fields that have been checked are all equal.

booleanreflectionEquals(final Object lhs, final Object rhs, final Collection excludeFields)

This method uses reflection to determine if the two Objects are equal.

It uses AccessibleObject.setAccessible to gain access to private fields.

booleanreflectionEquals(final Object lhs, final Object rhs, final String... excludeFields)

This method uses reflection to determine if the two Objects are equal.

It uses AccessibleObject.setAccessible to gain access to private fields.

booleanreflectionEquals(final Object lhs, final Object rhs, final boolean testTransients)

This method uses reflection to determine if the two Objects are equal.

It uses AccessibleObject.setAccessible to gain access to private fields.

booleanreflectionEquals(final Object lhs, final Object rhs, final boolean testTransients, final Class reflectUpToClass, final String... excludeFields)

This method uses reflection to determine if the two Objects are equal.

It uses AccessibleObject.setAccessible to gain access to private fields.