当前位置: 首页>>代码示例>>Java>>正文


Java HashUtilities类代码示例

本文整理汇总了Java中org.jfree.chart.HashUtilities的典型用法代码示例。如果您正苦于以下问题:Java HashUtilities类的具体用法?Java HashUtilities怎么用?Java HashUtilities使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


HashUtilities类属于org.jfree.chart包,在下文中一共展示了HashUtilities类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    long temp = Double.doubleToLongBits(this.startAngle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.extent);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.innerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.outerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.backgroundPaint);
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.foregroundPaint);
    result = 37 * result + this.stroke.hashCode();
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:23,代码来源:StandardDialFrame.java

示例2: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    long temp = Double.doubleToLongBits(this.increment);
    result = 37 * result + (int) (temp ^ (temp >>> 32));        
    temp = Double.doubleToLongBits(this.lowerBound);
    result = 37 * result + (int) (temp ^ (temp >>> 32));        
    temp = Double.doubleToLongBits(this.upperBound);
    result = 37 * result + (int) (temp ^ (temp >>> 32));        
    temp = Double.doubleToLongBits(this.innerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));        
    temp = Double.doubleToLongBits(this.outerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));        
    result = 37 * result + HashUtilities.hashCodeForPaint(this.paint);
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:StandardDialRange.java

示例3: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
public int hashCode() {
    int result = 193;
    long temp = Double.doubleToLongBits(this.angle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.tipRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.baseRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowLength);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowWidth);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + HashUtilities.hashCodeForPaint(this.arrowPaint);
    result = 37 * result + this.arrowStroke.hashCode();
    temp = Double.doubleToLongBits(this.labelOffset);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:24,代码来源:CategoryPointerAnnotation.java

示例4: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
public int hashCode() {
    int result = super.hashCode();
    long temp = Double.doubleToLongBits(this.angle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.tipRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.baseRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowLength);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowWidth);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = result * 37 + HashUtilities.hashCodeForPaint(this.arrowPaint);
    result = result * 37 + this.arrowStroke.hashCode();
    temp = Double.doubleToLongBits(this.labelOffset);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return super.hashCode();
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:24,代码来源:XYPointerAnnotation.java

示例5: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for the object.
 * 
 * @return A hash code.
 */
public int hashCode() {
    int result = 193;
    result = 37 * this.text.hashCode();
    result = 37 * this.font.hashCode();
    result = 37 * result + HashUtilities.hashCodeForPaint(this.paint);
    long temp = Double.doubleToLongBits(this.x);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.y);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + this.textAnchor.hashCode();
    result = 37 * result + this.rotationAnchor.hashCode();
    temp = Double.doubleToLongBits(this.rotationAngle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;   
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:21,代码来源:XYTextAnnotation.java

示例6: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 *
 * @return The hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    long temp = Double.doubleToLongBits(this.startAngle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.extent);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.innerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.outerRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.backgroundPaint);
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.foregroundPaint);
    result = 37 * result + this.stroke.hashCode();
    return result;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:24,代码来源:ArcDialFrame.java

示例7: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int hash = 7;
    hash = HashUtilities.hashCode(hash, this.visible);
    hash = HashUtilities.hashCode(hash, this.value);
    hash = HashUtilities.hashCode(hash, this.paint);
    hash = HashUtilities.hashCode(hash, this.stroke);
    hash = HashUtilities.hashCode(hash, this.labelVisible);
    hash = HashUtilities.hashCode(hash, this.labelAnchor);
    hash = HashUtilities.hashCode(hash, this.labelGenerator);
    hash = HashUtilities.hashCode(hash, this.labelXOffset);
    hash = HashUtilities.hashCode(hash, this.labelYOffset);
    hash = HashUtilities.hashCode(hash, this.labelFont);
    hash = HashUtilities.hashCode(hash, this.labelPaint);
    hash = HashUtilities.hashCode(hash, this.labelBackgroundPaint);
    hash = HashUtilities.hashCode(hash, this.labelOutlineVisible);
    hash = HashUtilities.hashCode(hash, this.labelOutlineStroke);
    hash = HashUtilities.hashCode(hash, this.labelOutlinePaint);
    return hash;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:26,代码来源:Crosshair.java

示例8: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    long temp = Double.doubleToLongBits(this.angle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.tipRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.baseRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowLength);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowWidth);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + HashUtilities.hashCodeForPaint(this.arrowPaint);
    result = 37 * result + this.arrowStroke.hashCode();
    temp = Double.doubleToLongBits(this.labelOffset);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:25,代码来源:CategoryPointerAnnotation.java

示例9: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = super.hashCode();
    long temp = Double.doubleToLongBits(this.angle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.tipRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.baseRadius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowLength);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.arrowWidth);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = result * 37 + HashUtilities.hashCodeForPaint(this.arrowPaint);
    result = result * 37 + this.arrowStroke.hashCode();
    temp = Double.doubleToLongBits(this.labelOffset);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:25,代码来源:XYPointerAnnotation.java

示例10: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for the object.
 *
 * @return A hash code.
 */
@Override
public int hashCode() {
    int result = 193;
    result = 37 * result + this.text.hashCode();
    result = 37 * result + this.font.hashCode();
    result = 37 * result + HashUtilities.hashCodeForPaint(this.paint);
    long temp = Double.doubleToLongBits(this.x);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.y);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    result = 37 * result + this.textAnchor.hashCode();
    result = 37 * result + this.rotationAnchor.hashCode();
    temp = Double.doubleToLongBits(this.rotationAngle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:22,代码来源:XYTextAnnotation.java

示例11: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return A hash code.
 */
@Override
public int hashCode() {
	int hash = 37;
	hash = HashUtilities.hashCode(hash, this.g1);
	hash = HashUtilities.hashCode(hash, this.g2);
	hash = HashUtilities.hashCode(hash, this.g3);
	return hash;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:14,代码来源:RapidXYBarPainter.java

示例12: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    result = 37 * result + HashUtilities.hashCodeForPaint(this.fillPaint);
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.outlinePaint);
    result = 37 * result + this.outlineStroke.hashCode();
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:DialCap.java

示例13: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    result = 37 * result + HashUtilities.hashCodeForPaint(this.paint);
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.backgroundPaint);
    result = 37 * result + HashUtilities.hashCodeForPaint(
            this.outlinePaint);
    result = 37 * result + this.outlineStroke.hashCode();
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:16,代码来源:DialValueIndicator.java

示例14: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    result = 37 * result + HashUtilities.hashCodeForPaint(this.paint);
    result = 37 * result + this.font.hashCode();
    result = 37 * result + this.label.hashCode();
    result = 37 * result + this.anchor.hashCode();
    long temp = Double.doubleToLongBits(this.angle);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    temp = Double.doubleToLongBits(this.radius);
    result = 37 * result + (int) (temp ^ (temp >>> 32));
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:18,代码来源:DialTextAnnotation.java

示例15: hashCode

import org.jfree.chart.HashUtilities; //导入依赖的package包/类
/**
 * Returns a hash code for this instance.
 * 
 * @return The hash code.
 */
public int hashCode() {
    int result = 193;
    result = 37 * result + HashUtilities.hashCodeForPaint(paint);
    result = 37 * result + this.gradientPaintTransformer.hashCode();
    return result;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:12,代码来源:DialBackground.java


注:本文中的org.jfree.chart.HashUtilities类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。