org.apache.pdfbox.util.Matrix.hashCode()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中org.apache.pdfbox.util.Matrix.hashCode()方法的一些代码示例,展示了Matrix.hashCode()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Matrix.hashCode()方法的具体详情如下:
包路径:org.apache.pdfbox.util.Matrix
类名称:Matrix
方法名:hashCode

Matrix.hashCode介绍

暂无

代码示例

代码示例来源:origin: apache/pdfbox

@Override
public int hashCode()
{
  int hash = 7;
  hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  return hash;
}

代码示例来源:origin: apache/pdfbox

@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;
  }
}

代码示例来源:origin: org.apache.pdfbox/pdfbox

@Override
public int hashCode()
{
  int hash = 7;
  hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  return hash;
}

代码示例来源:origin: com.github.lafa.pdfbox/pdfbox

@Override
public int hashCode()
{
  int hash = 7;
  hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  return hash;
}

代码示例来源:origin: org.apache.pdfbox/pdfbox

@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;
  }
}

代码示例来源:origin: com.github.lafa.pdfbox/pdfbox

@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;
  }
}

相关文章