isEquals = (lhs == rhs);
if (lhs == rhs) { return this; } if (lhs == null || rhs == null) { isEquals = false; return this; } Class lhsClass = lhs.getClass(); if (!lhsClass.isArray()) {  isEquals = lhs.equals(rhs); } else {   if (lhs instanceof long[]) { append((long[]) lhs, (long[]) rhs); } else if (lhs instanceof int[]) { append((int[]) lhs, (int[]) rhs); } else if (lhs instanceof short[]) { append((short[]) lhs, (short[]) rhs); } else if (lhs instanceof char[]) { append((char[]) lhs, (char[]) rhs); } else if (lhs instanceof byte[]) { append((byte[]) lhs, (byte[]) rhs); } else if (lhs instanceof double[]) { append((double[]) lhs, (double[]) rhs); } else if (lhs instanceof float[]) { append((float[]) lhs, (float[]) rhs); } else if (lhs instanceof boolean[]) { append((boolean[]) lhs, (boolean[]) rhs); } else {  append((Object[]) lhs, (Object[]) rhs); } }
    public EqualsBuilder append(boolean lhs, boolean rhs) {        if (isEquals == false) {            return this;        }        isEquals = (lhs == rhs);        return this;    }