List of usage examples for org.apache.commons.lang3.builder EqualsBuilder append
public EqualsBuilder append(final boolean[] lhs, final boolean[] rhs)
Deep comparison of array of boolean
.
From source file:org.xwiki.rendering.block.WordBlock.java
@Override public boolean equals(Object obj) { if (obj == this) { return true; }/*w w w . j a v a2 s .c om*/ if (obj instanceof WordBlock && super.equals(obj)) { EqualsBuilder builder = new EqualsBuilder(); builder.append(getWord(), ((WordBlock) obj).getWord()); return builder.isEquals(); } return false; }