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


Java ObjectUtilities.equal方法代码示例

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


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

示例1: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this time series collection for equality with another object.
 *
 * @param obj  the other object.
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof TimeSeriesCollection)) {
        return false;
    }
    TimeSeriesCollection that = (TimeSeriesCollection) obj;
    if (this.xPosition != that.xPosition) {
        return false;
    }
    if (this.domainIsPointsInTime != that.domainIsPointsInTime) {
        return false;
    }
    if (!ObjectUtilities.equal(this.data, that.data)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:27,代码来源:TimeSeriesCollection.java

示例2: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this instance for equality against an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (this == obj) {
        return true;   
    }
    if (!(obj instanceof PlotRenderingInfo)) {
        return false;
    }
    PlotRenderingInfo that = (PlotRenderingInfo) obj;
    if (!ObjectUtilities.equal(this.dataArea, that.dataArea)) {
        return false;   
    }
    if (!ObjectUtilities.equal(this.plotArea, that.plotArea)) {
        return false;   
    }
    if (!ObjectUtilities.equal(this.subplotInfo, that.subplotInfo)) {
        return false;   
    }
    return true;   
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:27,代码来源:PlotRenderingInfo.java

示例3: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests the generator for equality with an arbitrary object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof StandardCategoryURLGenerator)) {
        return false;
    }
    StandardCategoryURLGenerator that = (StandardCategoryURLGenerator) obj;
    if (!ObjectUtilities.equal(this.prefix, that.prefix)) {
        return false;
    }

    if (!ObjectUtilities.equal(this.seriesParameterName, 
            that.seriesParameterName)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.categoryParameterName, 
            that.categoryParameterName)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:30,代码来源:StandardCategoryURLGenerator.java

示例4: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests if this object is equal to another.
 *
 * @param obj  the object to test against for equality (<code>null</code>
 *             permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof XYDataItem)) {
        return false;
    }
    XYDataItem that = (XYDataItem) obj;
    if (!this.x.equals(that.x)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.y, that.y)) {
        return false;
    }
    return true;        
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:25,代码来源:XYDataItem.java

示例5: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests the entity for equality with an arbitrary object.
 * 
 * @param obj  the object to test against (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;   
    }
    if (obj instanceof ChartEntity) {
        ChartEntity that = (ChartEntity) obj;
        if (!this.area.equals(that.area)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.toolTipText, that.toolTipText)) {
            return false;   
        }
        if (!ObjectUtilities.equal(this.urlText, that.urlText)) {
            return false;   
        }
        return true;
    }
    return false;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:27,代码来源:ChartEntity.java

示例6: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this object for equality with an arbitrary object.
 *
 * @param obj  the other object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof AbstractCategoryItemLabelGenerator)) {
        return false;
    }
    
    AbstractCategoryItemLabelGenerator that 
        = (AbstractCategoryItemLabelGenerator) obj;
    if (!this.labelFormat.equals(that.labelFormat)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.dateFormat, that.dateFormat)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.numberFormat, that.numberFormat)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:29,代码来源:AbstractCategoryItemLabelGenerator.java

示例7: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this series for equality with an arbitrary object.
 *
 * @param obj  the object to test against for equality 
 *             (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof ComparableObjectSeries)) {
        return false;
    }
    if (!super.equals(obj)) {
        return false;
    }
    ComparableObjectSeries that = (ComparableObjectSeries) obj;
    if (this.maximumItemCount != that.maximumItemCount) {
        return false;
    }
    if (this.autoSort != that.autoSort) {
        return false;
    }
    if (this.allowDuplicateXValues != that.allowDuplicateXValues) {
        return false;
    }
    if (!ObjectUtilities.equal(this.data, that.data)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:34,代码来源:ComparableObjectSeries.java

示例8: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this object for equality with an arbitrary object.
 *
 * @param obj  the other object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof BubbleXYItemLabelGenerator)) {
        return false;
    }
    if (!super.equals(obj)) {
        return false;
    }
    BubbleXYItemLabelGenerator that = (BubbleXYItemLabelGenerator) obj;
    if (!ObjectUtilities.equal(this.zFormat, that.zFormat)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.zDateFormat, that.zDateFormat)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:27,代码来源:BubbleXYItemLabelGenerator.java

示例9: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this map for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof StrokeMap)) {
        return false;
    }
    StrokeMap that = (StrokeMap) obj;
    if (this.store.size() != that.store.size()) {
        return false;
    }
    Set keys = this.store.keySet();
    Iterator iterator = keys.iterator();
    while (iterator.hasNext()) {
        Comparable key = (Comparable) iterator.next();
        Stroke s1 = getStroke(key);
        Stroke s2 = that.getStroke(key);
        if (!ObjectUtilities.equal(s1, s2)) {
            return false;
        }
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:31,代码来源:StrokeMap.java

示例10: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this collection for equality with an arbitrary object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof DefaultTableXYDataset)) {
        return false;
    }
    DefaultTableXYDataset that = (DefaultTableXYDataset) obj;
    if (this.autoPrune != that.autoPrune) {
        return false;
    }
    if (this.propagateEvents != that.propagateEvents) {
        return false;   
    }
    if (!this.intervalDelegate.equals(that.intervalDelegate)) {
        return false;   
    }
    if (!ObjectUtilities.equal(this.data, that.data)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:30,代码来源:DefaultTableXYDataset.java

示例11: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this series for equality with an arbitrary object.
 *
 * @param obj  the object to test against for equality 
 *             (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof XYSeries)) {
        return false;
    }
    if (!super.equals(obj)) {
        return false;
    }
    XYSeries that = (XYSeries) obj;
    if (this.maximumItemCount != that.maximumItemCount) {
        return false;
    }
    if (this.autoSort != that.autoSort) {
        return false;
    }
    if (this.allowDuplicateXValues != that.allowDuplicateXValues) {
        return false;
    }
    if (!ObjectUtilities.equal(this.data, that.data)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:34,代码来源:XYSeries.java

示例12: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this annotation for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return <code>true</code> or <code>false</code>.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof XYPointerAnnotation)) {
        return false;
    }
    if (!super.equals(obj)) {
        return false;
    }
    XYPointerAnnotation that = (XYPointerAnnotation) obj;
    if (this.angle != that.angle) {
        return false;
    }
    if (this.tipRadius != that.tipRadius) {
        return false;
    }
    if (this.baseRadius != that.baseRadius) {
        return false;
    }
    if (this.arrowLength != that.arrowLength) {
        return false;
    }
    if (this.arrowWidth != that.arrowWidth) {
        return false;
    }
    if (!this.arrowPaint.equals(that.arrowPaint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.arrowStroke, that.arrowStroke)) {
        return false;
    }
    if (this.labelOffset != that.labelOffset) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:45,代码来源:XYPointerAnnotation.java

示例13: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this object for equality with another.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return <code>true</code> or <code>false</code>.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof CategoryLineAnnotation)) {
        return false;
    }
    CategoryLineAnnotation that = (CategoryLineAnnotation) obj;
    if (!this.category1.equals(that.getCategory1())) {
        return false;
    }
    if (this.value1 != that.getValue1()) {
        return false;    
    }
    if (!this.category2.equals(that.getCategory2())) {
        return false;
    }
    if (this.value2 != that.getValue2()) {
        return false;    
    }
    if (!PaintUtilities.equal(this.paint, that.paint)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.stroke, that.stroke)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:36,代码来源:CategoryLineAnnotation.java

示例14: equals

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

示例15: equals

import org.jfree.util.ObjectUtilities; //导入方法依赖的package包/类
/**
 * Tests this axis for equality with an arbitrary object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
    if (obj == this) {
        return true;
    }
    if (!(obj instanceof DateAxis)) {
        return false;
    }
    DateAxis that = (DateAxis) obj;
    if (!ObjectUtilities.equal(this.tickUnit, that.tickUnit)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.dateFormatOverride, 
            that.dateFormatOverride)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.tickMarkPosition, 
            that.tickMarkPosition)) {
        return false;
    }
    if (!ObjectUtilities.equal(this.timeline, that.timeline)) {
        return false;
    }
    if (!super.equals(obj)) {
        return false;
    }
    return true;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:35,代码来源:DateAxis.java


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