Java Code Examples for org.jfree.data.DomainOrder#ASCENDING

The following examples show how to use org.jfree.data.DomainOrder#ASCENDING . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XYSeriesCollection.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Returns the order of the domain (X) values, if this is known.
 *
 * @return The domain order.
 */
public DomainOrder getDomainOrder() {
    int seriesCount = getSeriesCount();
    for (int i = 0; i < seriesCount; i++) {
        XYSeries s = getSeries(i);
        if (!s.getAutoSort()) {
            return DomainOrder.NONE;  // we can't be sure of the order
        }
    }
    return DomainOrder.ASCENDING;
}
 
Example 2
Source File: DomainOrderTests.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Two objects that are equal are required to return the same hashCode. 
 */
public void testHashCode() {
    DomainOrder d1 = DomainOrder.ASCENDING;
    DomainOrder d2 = DomainOrder.ASCENDING;
    assertTrue(d1.equals(d2));
    int h1 = d1.hashCode();
    int h2 = d2.hashCode();
    assertEquals(h1, h2);
}
 
Example 3
Source File: XYSeriesCollection.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Returns the order of the domain (X) values, if this is known.
 *
 * @return The domain order.
 */
@Override
public DomainOrder getDomainOrder() {
    int seriesCount = getSeriesCount();
    for (int i = 0; i < seriesCount; i++) {
        XYSeries s = getSeries(i);
        if (!s.getAutoSort()) {
            return DomainOrder.NONE;  // we can't be sure of the order
        }
    }
    return DomainOrder.ASCENDING;
}
 
Example 4
Source File: XYSeriesCollection.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
/**
 * Returns the order of the domain (X) values, if this is known.
 *
 * @return The domain order.
 */
@Override
public DomainOrder getDomainOrder() {
    int seriesCount = getSeriesCount();
    for (int i = 0; i < seriesCount; i++) {
        XYSeries s = getSeries(i);
        if (!s.getAutoSort()) {
            return DomainOrder.NONE;  // we can't be sure of the order
        }
    }
    return DomainOrder.ASCENDING;
}
 
Example 5
Source File: RendererUtilitiesTest.java    From openstock with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsUpperBound() method when the dataset is
 * ASCENDING.
 */
@Test
public void testFindLiveItemsUpperBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        @Override
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 2, 0.0,
            1.0));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 3, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 3, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 4, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 4, 2.0,
            3.3));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.0));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            2.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            3.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            4.0));

}
 
Example 6
Source File: RendererUtilitiesTests.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsLowerBound() method when the dataset is
 * ASCENDING.
 */
public void testFindLiveItemsLowerBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 2, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 3, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 3, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsLowerBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 4, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsLowerBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsLowerBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 0.0,
            4.0));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 1.0,
            4.0));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 4, 2.0,
            4.0));
    assertEquals(4, RendererUtilities.findLiveItemsLowerBound(d, 4, 3.0,
            4.0));

}
 
Example 7
Source File: RendererUtilitiesTest.java    From buffer_bci with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsUpperBound() method when the dataset is
 * ASCENDING.
 */
@Test
public void testFindLiveItemsUpperBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        @Override
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 2, 0.0,
            1.0));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 3, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 3, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 4, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 4, 2.0,
            3.3));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.0));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            2.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            3.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            4.0));

}
 
Example 8
Source File: RendererUtilitiesTests.java    From astor with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsUpperBound() method when the dataset is
 * ASCENDING.
 */
public void testFindLiveItemsUpperBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 2, 0.0,
            1.0));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 3, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 3, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 4, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 4, 2.0,
            3.3));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.0));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            2.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            3.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            4.0));

}
 
Example 9
Source File: RendererUtilitiesTest.java    From ccu-historian with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsLowerBound() method when the dataset is
 * ASCENDING.
 */
@Test
public void testFindLiveItemsLowerBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        @Override
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 2, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 3, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 3, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsLowerBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 4, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsLowerBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsLowerBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 0.0,
            4.0));
    assertEquals(0, RendererUtilities.findLiveItemsLowerBound(d, 4, 1.0,
            4.0));
    assertEquals(1, RendererUtilities.findLiveItemsLowerBound(d, 4, 2.0,
            4.0));
    assertEquals(4, RendererUtilities.findLiveItemsLowerBound(d, 4, 3.0,
            4.0));

}
 
Example 10
Source File: RendererUtilitiesTest.java    From ccu-historian with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Some checks for the findLiveItemsUpperBound() method when the dataset is
 * ASCENDING.
 */
@Test
public void testFindLiveItemsUpperBound_Ascending() {
    DefaultXYDataset d = new DefaultXYDataset() {
        @Override
        public DomainOrder getDomainOrder() {
            // we're doing this for testing only, and make sure that we
            // only add data in ascending order by x-value
            return DomainOrder.ASCENDING;
        }
    };
    // check a series with no items
    d.addSeries("S1", new double[][] {{}, {}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 0, 10.0,
            11.1));

    // check a series with one item
    d.addSeries("S2", new double[][] {{1.0}, {9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 0.0,
            1.1));
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 1, 2.0,
            2.2));

    // check a series with two items
    d.addSeries("S3", new double[][] {{1.0, 2.0}, {9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 2, 0.0,
            1.0));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 1.0,
            2.2));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 2.0,
            3.3));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 2, 3.0,
            4.4));

    // check a series with three items
    d.addSeries("S4", new double[][] {{1.0, 2.0, 3.0}, {9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 3, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 3, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 2.0,
            3.3));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 3, 3.0,
            4.4));

    // check a series with four items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 3.0, 4.0}, {9.9, 9.9,
            9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.1));
    assertEquals(1, RendererUtilities.findLiveItemsUpperBound(d, 4, 1.0,
            2.2));
    assertEquals(2, RendererUtilities.findLiveItemsUpperBound(d, 4, 2.0,
            3.3));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 3.0,
            4.4));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 4.0,
            5.5));

    // check a series with repeating items
    d.addSeries("S5", new double[][] {{1.0, 2.0, 2.0, 2.0, 3.0}, {9.9, 9.9,
            9.9, 9.9, 9.9}});
    assertEquals(0, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            1.0));
    assertEquals(3, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            2.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            3.0));
    assertEquals(4, RendererUtilities.findLiveItemsUpperBound(d, 4, 0.0,
            4.0));

}
 
Example 11
Source File: TimeSeriesCollection.java    From ECG-Viewer with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the order of the domain values in this dataset.
 *
 * @return {@link DomainOrder#ASCENDING}
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 12
Source File: TimeSeriesCollection.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Returns the order of the domain values in this dataset.
 *
 * @return {@link DomainOrder#ASCENDING}
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 13
Source File: TimeSeriesCollection.java    From SIMVA-SoS with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the order of the domain values in this dataset.
 *
 * @return {@link DomainOrder#ASCENDING}
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 14
Source File: SimpleHistogramDataset.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the order of the domain (or X) values returned by the dataset.
 *
 * @return The order (never <code>null</code>).
 */
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 15
Source File: TimeSeriesCollection.java    From buffer_bci with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Returns the order of the domain values in this dataset.
 *
 * @return {@link DomainOrder#ASCENDING}
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 16
Source File: SimpleHistogramDataset.java    From ccu-historian with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Returns the order of the domain (or X) values returned by the dataset.
 *
 * @return The order (never <code>null</code>).
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 17
Source File: SimpleHistogramDataset.java    From opensim-gui with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the order of the domain (or X) values returned by the dataset.
 * 
 * @return The order (never <code>null</code>).
 */
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 18
Source File: SimpleHistogramDataset.java    From openstock with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Returns the order of the domain (or X) values returned by the dataset.
 *
 * @return The order (never <code>null</code>).
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 19
Source File: SimpleHistogramDataset.java    From ECG-Viewer with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the order of the domain (or X) values returned by the dataset.
 *
 * @return The order (never <code>null</code>).
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}
 
Example 20
Source File: TimeSeriesCollection.java    From openstock with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Returns the order of the domain values in this dataset.
 *
 * @return {@link DomainOrder#ASCENDING}
 */
@Override
public DomainOrder getDomainOrder() {
    return DomainOrder.ASCENDING;
}