Example usage for org.jfree.data.category DefaultIntervalCategoryDataset getRowKeys

List of usage examples for org.jfree.data.category DefaultIntervalCategoryDataset getRowKeys

Introduction

In this page you can find the example usage for org.jfree.data.category DefaultIntervalCategoryDataset getRowKeys.

Prototype

@Override
public List getRowKeys() 

Source Link

Document

Returns a list of the series in the dataset.

Usage

From source file:org.jfree.data.category.DefaultIntervalCategoryDatasetTest.java

/**
 * Some checks for the getRowKeys() method.
 *//*from  w w w . j  a va 2  s . c o  m*/
@Test
public void testGetRowKeys() {
    // check an empty dataset
    DefaultIntervalCategoryDataset empty = new DefaultIntervalCategoryDataset(new double[0][0],
            new double[0][0]);
    List keys = empty.getRowKeys();
    assertEquals(0, keys.size());
}