java.awt.geom.AffineTransform.hashCode()方法的使用及代码示例

x33g5p2x  于2022-01-15 转载在 其他  
字(2.4k)|赞(0)|评价(0)|浏览(132)

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

AffineTransform.hashCode介绍

暂无

代码示例

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

  1. @Override
  2. public int hashCode()
  3. {
  4. int hash = 7;
  5. hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  6. hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  7. hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  8. hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  9. hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  10. return hash;
  11. }

代码示例来源:origin: geotools/geotools

  1. /** Returns a hash value for this transform. */
  2. @Override
  3. public int hashCode() {
  4. return (int) serialVersionUID ^ super.hashCode() ^ global.hashCode();
  5. }

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

  1. /**
  2. * Returns a hash code value for this matrix.
  3. */
  4. @Override
  5. public int hashCode() {
  6. return (transform.hashCode() * 31 + Arrays.hashCode(errors)) ^ (int) serialVersionUID;
  7. }

代码示例来源:origin: org.apache.sis.core/sis-referencing

  1. /**
  2. * Returns a hash code value for this matrix.
  3. */
  4. @Override
  5. public int hashCode() {
  6. return (transform.hashCode() * 31 + Arrays.hashCode(errors)) ^ (int) serialVersionUID;
  7. }

代码示例来源:origin: Geomatys/geotoolkit

  1. /**
  2. * Returns a hash code value for this shape.
  3. *
  4. * @since 3.20
  5. */
  6. @Override
  7. public int hashCode() {
  8. int code = super.hashCode() ^ (int) serialVersionUID;
  9. if (shape != null) {
  10. code ^= shape.hashCode();
  11. }
  12. return code;
  13. }

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

  1. @Override
  2. public int hashCode()
  3. {
  4. int hash = 7;
  5. hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  6. hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  7. hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  8. hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  9. hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  10. return hash;
  11. }

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

  1. @Override
  2. public int hashCode()
  3. {
  4. int hash = 7;
  5. hash = 23 * hash + (this.matrix != null ? this.matrix.hashCode() : 0);
  6. hash = 23 * hash + (this.patternDict != null ? this.patternDict.hashCode() : 0);
  7. hash = 23 * hash + (this.colorSpace != null ? this.colorSpace.hashCode() : 0);
  8. hash = 23 * hash + (this.color != null ? this.color.hashCode() : 0);
  9. hash = 23 * hash + (this.xform != null ? this.xform.hashCode() : 0);
  10. return hash;
  11. }

代码示例来源:origin: opengeospatial/geoapi

  1. assertNotNull(transform);
  2. final float[] coordinates = verifyInternalConsistency(reference.hashCode());

相关文章