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

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

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

AffineTransform.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: geotools/geotools

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

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

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

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

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

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

/**
 * Returns a hash code value for this shape.
 *
 * @since 3.20
 */
@Override
public int hashCode() {
  int code = super.hashCode() ^ (int) serialVersionUID;
  if (shape != null) {
    code ^= shape.hashCode();
  }
  return code;
}

代码示例来源: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: opengeospatial/geoapi

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

相关文章