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


Java ArrayUtilities.equal方法代码示例

本文整理汇总了Java中org.jfree.util.ArrayUtilities.equal方法的典型用法代码示例。如果您正苦于以下问题:Java ArrayUtilities.equal方法的具体用法?Java ArrayUtilities.equal怎么用?Java ArrayUtilities.equal使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.jfree.util.ArrayUtilities的用法示例。


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

示例1: equals

import org.jfree.util.ArrayUtilities; //导入方法依赖的package包/类
/**
 * Tests an object for equality with this instance.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    if (!(obj instanceof FastScatterPlot)) {
        return false;
    }
    FastScatterPlot that = (FastScatterPlot) obj;
    if (!ArrayUtilities.equal(this.data, that.data)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainAxis, that.domainAxis)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeAxis, that.rangeAxis)) {
        return false;
    }
    if (!PaintUtilities.equal(this.paint, that.paint)) {
        return false;
    }
    if (this.domainGridlinesVisible != that.domainGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.domainGridlinePaint, 
            that.domainGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainGridlineStroke, 
            that.domainGridlineStroke)) {
        return false;
    }  
    if (!this.rangeGridlinesVisible == that.rangeGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.rangeGridlinePaint, 
            that.rangeGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeGridlineStroke, 
            that.rangeGridlineStroke)) {
        return false;
    }              
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:55,代码来源:FastScatterPlot.java

示例2: equals

import org.jfree.util.ArrayUtilities; //导入方法依赖的package包/类
/**
 * Tests an arbitrary object for equality with this plot.  Note that
 * <code>FastScatterPlot</code> carries its data around with it (rather
 * than referencing a dataset), and the data is included in the
 * equality test.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
@Override
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    if (!(obj instanceof FastScatterPlot)) {
        return false;
    }
    FastScatterPlot that = (FastScatterPlot) obj;
    if (this.domainPannable != that.domainPannable) {
        return false;
    }
    if (this.rangePannable != that.rangePannable) {
        return false;
    }
    if (!ArrayUtilities.equal(this.data, that.data)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainAxis, that.domainAxis)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeAxis, that.rangeAxis)) {
        return false;
    }
    if (!PaintUtilities.equal(this.paint, that.paint)) {
        return false;
    }
    if (this.domainGridlinesVisible != that.domainGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.domainGridlinePaint,
            that.domainGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainGridlineStroke,
            that.domainGridlineStroke)) {
        return false;
    }
    if (!this.rangeGridlinesVisible == that.rangeGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.rangeGridlinePaint,
            that.rangeGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeGridlineStroke,
            that.rangeGridlineStroke)) {
        return false;
    }
    return true;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:65,代码来源:FastScatterPlot.java

示例3: equals

import org.jfree.util.ArrayUtilities; //导入方法依赖的package包/类
/**
 * Tests an object for equality with this instance.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    if (!(obj instanceof FastScatterPlot)) {
        return false;
    }
    FastScatterPlot that = (FastScatterPlot) obj;
    if (!ArrayUtilities.equal(this.data, that.data)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainAxis, that.domainAxis)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeAxis, that.rangeAxis)) {
        return false;
    }
    if (!PaintUtilities.equal(this.paint, that.paint)) {
        return false;
    }
    if (this.domainGridlinesVisible != that.domainGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.domainGridlinePaint,
            that.domainGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainGridlineStroke,
            that.domainGridlineStroke)) {
        return false;
    }
    if (!this.rangeGridlinesVisible == that.rangeGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.rangeGridlinePaint,
            that.rangeGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeGridlineStroke,
            that.rangeGridlineStroke)) {
        return false;
    }
    return true;
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:55,代码来源:FastScatterPlot.java

示例4: equals

import org.jfree.util.ArrayUtilities; //导入方法依赖的package包/类
/**
 * Tests an arbitrary object for equality with this plot.  Note that
 * <code>FastScatterPlot</code> carries its data around with it (rather
 * than referencing a dataset), and the data is included in the
 * equality test.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    if (!(obj instanceof FastScatterPlot)) {
        return false;
    }
    FastScatterPlot that = (FastScatterPlot) obj;
    if (this.domainPannable != that.domainPannable) {
        return false;
    }
    if (this.rangePannable != that.rangePannable) {
        return false;
    }
    if (!ArrayUtilities.equal(this.data, that.data)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainAxis, that.domainAxis)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeAxis, that.rangeAxis)) {
        return false;
    }
    if (!PaintUtilities.equal(this.paint, that.paint)) {
        return false;
    }
    if (this.domainGridlinesVisible != that.domainGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.domainGridlinePaint,
            that.domainGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.domainGridlineStroke,
            that.domainGridlineStroke)) {
        return false;
    }
    if (!this.rangeGridlinesVisible == that.rangeGridlinesVisible) {
        return false;
    }
    if (!PaintUtilities.equal(this.rangeGridlinePaint,
            that.rangeGridlinePaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.rangeGridlineStroke,
            that.rangeGridlineStroke)) {
        return false;
    }
    return true;
}
 
开发者ID:lulab,项目名称:PI,代码行数:64,代码来源:FastScatterPlot.java


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