use of org.apache.commons.lang.builder.EqualsBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class SubVersion method equals.
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof SubVersion)) {
return false;
}
SubVersion that = (SubVersion) obj;
EqualsBuilder eb = new EqualsBuilder();
eb.append(getCode(), that.getCode());
return eb.isEquals();
}
use of org.apache.commons.lang.builder.EqualsBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class WarehouseProductInfo method equals.
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof WarehouseProductInfo)) {
return false;
}
WarehouseProductInfo that = (WarehouseProductInfo) obj;
EqualsBuilder eb = new EqualsBuilder();
eb.append(product, that.getProduct());
return eb.isEquals();
}
use of org.apache.commons.lang.builder.EqualsBuilder in project vladmihalcea.wordpress.com by vladmihalcea.
the class BagLeaf method equals.
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof BagLeaf)) {
return false;
}
BagLeaf that = (BagLeaf) obj;
EqualsBuilder eb = new EqualsBuilder();
eb.append(index, that.index);
return eb.isEquals();
}
use of org.apache.commons.lang.builder.EqualsBuilder in project cobar by alibaba.
the class Tuple method equals.
@Override
public boolean equals(Object obj) {
if (obj == this)
return true;
if (!(obj instanceof Tuple))
return false;
Tuple that = (Tuple) obj;
EqualsBuilder builder = new EqualsBuilder();
builder.append(this.objects, that.objects);
return builder.isEquals();
}
use of org.apache.commons.lang.builder.EqualsBuilder in project gora by apache.
the class DataStoreBase method equals.
@Override
public boolean equals(Object obj) {
if (obj instanceof DataStoreBase) {
@SuppressWarnings("rawtypes") DataStoreBase that = (DataStoreBase) obj;
EqualsBuilder builder = new EqualsBuilder();
builder.append(this.keyClass, that.keyClass);
builder.append(this.persistentClass, that.persistentClass);
return builder.isEquals();
}
return false;
}
Aggregations