@Override public int hashCode() { final int prime = 31; int result = super.hashCode(); result = prime * result + java.lang.Float.floatToIntBits(dir); result = prime * result + ((font == null) ? 0 : font.hashCode()); result = prime * result + java.lang.Float.floatToIntBits(fontSize); result = prime * result + ((text == null) ? 0 : text.hashCode()); result = prime * result + java.lang.Float.floatToIntBits(widthOfSpace); return result; }
@Override public int hashCode() { int result = textMatrix != null ? textMatrix.hashCode() : 0; result = 31 * result + Float.floatToIntBits(endX); result = 31 * result + Float.floatToIntBits(endY); result = 31 * result + Float.floatToIntBits(maxHeight); result = 31 * result + rotation; result = 31 * result + Float.floatToIntBits(x); result = 31 * result + Float.floatToIntBits(y); result = 31 * result + Float.floatToIntBits(pageHeight); result = 31 * result + Float.floatToIntBits(pageWidth); result = 31 * result + Float.floatToIntBits(widthOfSpace); result = 31 * result + Arrays.hashCode(charCodes); result = 31 * result + (font != null ? font.hashCode() : 0); result = 31 * result + Float.floatToIntBits(fontSize); result = 31 * result + fontSizePt; return result; } }
@Override public int hashCode() { int result = textMatrix != null ? textMatrix.hashCode() : 0; result = 31 * result + Float.floatToIntBits(endX); result = 31 * result + Float.floatToIntBits(endY); result = 31 * result + Float.floatToIntBits(maxHeight); result = 31 * result + rotation; result = 31 * result + Float.floatToIntBits(x); result = 31 * result + Float.floatToIntBits(y); result = 31 * result + Float.floatToIntBits(pageHeight); result = 31 * result + Float.floatToIntBits(pageWidth); result = 31 * result + Float.floatToIntBits(widthOfSpace); result = 31 * result + Arrays.hashCode(charCodes); result = 31 * result + (font != null ? font.hashCode() : 0); result = 31 * result + Float.floatToIntBits(fontSize); result = 31 * result + fontSizePt; return result; } }
@Override public int hashCode() { int result = textMatrix != null ? textMatrix.hashCode() : 0; result = 31 * result + Float.floatToIntBits(endX); result = 31 * result + Float.floatToIntBits(endY); result = 31 * result + Float.floatToIntBits(maxHeight); result = 31 * result + rotation; result = 31 * result + Float.floatToIntBits(x); result = 31 * result + Float.floatToIntBits(y); result = 31 * result + Float.floatToIntBits(pageHeight); result = 31 * result + Float.floatToIntBits(pageWidth); result = 31 * result + Float.floatToIntBits(widthOfSpace); result = 31 * result + Arrays.hashCode(charCodes); result = 31 * result + (font != null ? font.hashCode() : 0); result = 31 * result + Float.floatToIntBits(fontSize); result = 31 * result + fontSizePt; return result; } }