本文整理汇总了Java中org.jfree.data.KeyedObjects2D类的典型用法代码示例。如果您正苦于以下问题:Java KeyedObjects2D类的具体用法?Java KeyedObjects2D怎么用?Java KeyedObjects2D使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
KeyedObjects2D类属于org.jfree.data包,在下文中一共展示了KeyedObjects2D类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DefaultStatisticalCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultStatisticalCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = Double.NaN;
this.minimumRangeValueRow = -1;
this.minimumRangeValueColumn = -1;
this.maximumRangeValue = Double.NaN;
this.maximumRangeValueRow = -1;
this.maximumRangeValueColumn = -1;
this.minimumRangeValueIncStdDev = Double.NaN;
this.minimumRangeValueIncStdDevRow = -1;
this.minimumRangeValueIncStdDevColumn = -1;
this.maximumRangeValueIncStdDev = Double.NaN;
this.maximumRangeValueIncStdDevRow = -1;
this.maximumRangeValueIncStdDevColumn = -1;
}
示例2: DefaultStatisticalCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultStatisticalCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = new Double(0.0);
this.maximumRangeValue = new Double(0.0);
this.valueRange = new Range(0.0, 0.0);
}
示例3: DefaultBoxAndWhiskerCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultBoxAndWhiskerCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = null;
this.maximumRangeValue = null;
this.valueRange = new Range(0.0, 0.0);
}
示例4: DefaultStatisticalCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultStatisticalCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = Double.NaN;
this.maximumRangeValue = Double.NaN;
this.minimumRangeValueIncStdDev = Double.NaN;
this.maximumRangeValueIncStdDev = Double.NaN;
}
示例5: DefaultBoxAndWhiskerCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultBoxAndWhiskerCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = null;
this.maximumRangeValue = null;
this.rangeBounds = new Range(0.0, 0.0);
}
示例6: DefaultMultiValueCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultMultiValueCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = null;
this.maximumRangeValue = null;
this.rangeBounds = new Range(0.0, 0.0);
}
示例7: DefaultBoxAndWhiskerCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public DefaultBoxAndWhiskerCategoryDataset() {
this.data = new KeyedObjects2D();
this.minimumRangeValue = Double.NaN;
this.minimumRangeValueRow = -1;
this.minimumRangeValueColumn = -1;
this.maximumRangeValue = Double.NaN;
this.maximumRangeValueRow = -1;
this.maximumRangeValueColumn = -1;
}
示例8: AsymmetricStatisticalCategoryDataset
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Creates a new dataset.
*/
public AsymmetricStatisticalCategoryDataset() {
data = new KeyedObjects2D();
minimumRangeValue = Double.NaN;
maximumRangeValue = Double.NaN;
minimumRangeValueIncStdDev = Double.NaN;
maximumRangeValueIncStdDev = Double.NaN;
}
示例9: testEquals
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* Some checks for the equals() method.
*/
public void testEquals() {
KeyedObjects2D k1 = new KeyedObjects2D();
KeyedObjects2D k2 = new KeyedObjects2D();
assertTrue(k1.equals(k2));
assertTrue(k2.equals(k1));
k1.addObject(new Integer(99), "R1", "C1");
assertFalse(k1.equals(k2));
k2.addObject(new Integer(99), "R1", "C1");
assertTrue(k1.equals(k2));
}
示例10: testRemoveValue
import org.jfree.data.KeyedObjects2D; //导入依赖的package包/类
/**
* A simple check for the removeValue() method.
*/
public void testRemoveValue() {
KeyedObjects2D data = new KeyedObjects2D();
data.setObject("Obj1", "R1", "C1");
data.setObject("Obj2", "R2", "C2");
data.removeObject("R2", "C2");
assertEquals(1, data.getRowCount());
assertEquals(1, data.getColumnCount());
assertEquals("Obj1", data.getObject(0, 0));
}