本文整理了Java中org.jfree.chart.plot.XYPlot.equals()
方法的一些代码示例,展示了XYPlot.equals()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XYPlot.equals()
方法的具体详情如下:
包路径:org.jfree.chart.plot.XYPlot
类名称:XYPlot
方法名:equals
[英]Tests this plot for equality with another object.
[中]测试此绘图是否与其他对象相等。
代码示例来源:origin: jfree/jfreechart
/**
* Tests this plot for equality with another object.
*
* @param obj the other object.
*
* @return {@code true} or {@code false}.
*/
@Override
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof CombinedDomainXYPlot)) {
return false;
}
CombinedDomainXYPlot that = (CombinedDomainXYPlot) obj;
if (this.gap != that.gap) {
return false;
}
if (!ObjectUtils.equal(this.subplots, that.subplots)) {
return false;
}
return super.equals(obj);
}
代码示例来源:origin: jfree/jfreechart
/**
* Tests this plot for equality with another object.
*
* @param obj the other object.
*
* @return {@code true} or {@code false}.
*/
@Override
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof CombinedRangeXYPlot)) {
return false;
}
CombinedRangeXYPlot that = (CombinedRangeXYPlot) obj;
if (this.gap != that.gap) {
return false;
}
if (!ObjectUtils.equal(this.subplots, that.subplots)) {
return false;
}
return super.equals(obj);
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Tests this plot for equality with another object.
*
* @param obj the other object.
*
* @return <code>true</code> or <code>false</code>.
*/
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof CombinedRangeXYPlot)) {
return false;
}
CombinedRangeXYPlot that = (CombinedRangeXYPlot) obj;
if (this.gap != that.gap) {
return false;
}
if (!ObjectUtilities.equal(this.subplots, that.subplots)) {
return false;
}
return super.equals(obj);
}
代码示例来源:origin: org.codehaus.jtstand/jtstand-chart
/**
* Tests this plot for equality with another object.
*
* @param obj the other object.
*
* @return <code>true</code> or <code>false</code>.
*/
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof CombinedDomainXYPlot)) {
return false;
}
CombinedDomainXYPlot that = (CombinedDomainXYPlot) obj;
if (this.gap != that.gap) {
return false;
}
if (!ObjectUtilities.equal(this.subplots, that.subplots)) {
return false;
}
return super.equals(obj);
}
内容来源于网络,如有侵权,请联系作者删除!