本文整理汇总了Java中org.jfree.data.general.DatasetUtilities.iterateDomainBounds方法的典型用法代码示例。如果您正苦于以下问题:Java DatasetUtilities.iterateDomainBounds方法的具体用法?Java DatasetUtilities.iterateDomainBounds怎么用?Java DatasetUtilities.iterateDomainBounds使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.jfree.data.general.DatasetUtilities
的用法示例。
在下文中一共展示了DatasetUtilities.iterateDomainBounds方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: testIterateDomainBounds
import org.jfree.data.general.DatasetUtilities; //导入方法依赖的package包/类
/**
* Some tests for the iterateDomainBounds() method.
*/
public void testIterateDomainBounds() {
XYDataset dataset = createXYDataset1();
Range r = DatasetUtilities.iterateDomainBounds(dataset);
assertEquals(1.0, r.getLowerBound(), EPSILON);
assertEquals(3.0, r.getUpperBound(), EPSILON);
}
示例2: getDomainBounds
import org.jfree.data.general.DatasetUtilities; //导入方法依赖的package包/类
/**
* Returns the range of the values in this dataset's domain.
*
* @param includeInterval a flag that determines whether or not the
* x-interval is taken into account.
*
* @return The range.
*/
public Range getDomainBounds(boolean includeInterval) {
if (includeInterval) {
return this.intervalDelegate.getDomainBounds(includeInterval);
}
else {
return DatasetUtilities.iterateDomainBounds(this, includeInterval);
}
}
示例3: getDomainBounds
import org.jfree.data.general.DatasetUtilities; //导入方法依赖的package包/类
/**
* Returns the range of the values in this dataset's domain.
*
* @param includeInterval a flag that determines whether or not the
* x-interval is taken into account.
*
* @return The range.
*/
public Range getDomainBounds(boolean includeInterval) {
if (includeInterval) {
return this.intervalDelegate.getDomainBounds(includeInterval);
}
else {
return DatasetUtilities.iterateDomainBounds(this, includeInterval);
}
}