Ejemplo n.º 1
0
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + blockIndent;
   result = prime * result + ((breakBefore == null) ? 0 : breakBefore.hashCode());
   result = prime * result + ((keep == null) ? 0 : keep.hashCode());
   result = prime * result + keepWithNext;
   result = prime * result + keepWithNextSheets;
   result = prime * result + keepWithPreviousSheets;
   result = prime * result + ((listType == null) ? 0 : listType.hashCode());
   result = prime * result + ((margin == null) ? 0 : margin.hashCode());
   result = prime * result + orphans;
   result = prime * result + ((padding == null) ? 0 : padding.hashCode());
   result = prime * result + ((textBlockProps == null) ? 0 : textBlockProps.hashCode());
   result = prime * result + ((textBorderStyle == null) ? 0 : textBorderStyle.hashCode());
   result = prime * result + ((verticalPosition == null) ? 0 : verticalPosition.hashCode());
   result = prime * result + widows;
   return result;
 }