setPropertyValue(new EscherSimpleProperty(EscherProperties.GROUPSHAPE__PRINT, false, false, property.getPropertyValue() & GROUP_SHAPE_NOT_HIDDEN_MASK));
}
}
+
+ @Override
+ public boolean equals(Object obj) {
+ if (!(obj instanceof HSSFComment)) {
+ return false;
+ }
+ HSSFComment other = (HSSFComment) obj;
+ return getNoteRecord().equals(other.getNoteRecord());
+ }
+
+ @Override
+ public int hashCode() {
+ return ((getRow()*17) + getColumn())*31;
+ }
}
protected CTShape getCTShape(){
return _vmlShape;
}
+
+ @Override
+ public boolean equals(Object obj) {
+ if (!(obj instanceof XSSFComment)) {
+ return false;
+ }
+ XSSFComment other = (XSSFComment) obj;
+ return ((getCTComment() == other.getCTComment()) &&
+ (getCTShape() == other.getCTShape()));
+ }
+
+ @Override
+ public int hashCode() {
+ return ((getRow()*17) + getColumn())*31;
+ }
}