check that the maximum item count can be applied retrospectively . concode_field_sep double EPSILON concode_elem_sep SeriesChangeEvent lastEvent concode_field_sep void testClear concode_elem_sep void testIndexOf2 concode_elem_sep void testCloning concode_elem_sep void testRemove concode_elem_sep void seriesChanged concode_elem_sep void testAdd concode_elem_sep void testIndexOf concode_elem_sep void testAdditionOfDuplicateXValues concode_elem_sep void testSerialization concode_elem_sep void testSetMaximumItemCount concode_elem_sep void testEquals
void function ( ) { YIntervalSeries loc0 = new YIntervalSeries ( "srini_string" ) ; loc0 . add ( 1.0 , 1.1 , 1.1 , 1.1 ) ; loc0 . add ( 2.0 , 2.2 , 2.2 , 2.2 ) ; loc0 . add ( 3.0 , 3.3 , 3.3 , 3.3 ) ; loc0 . setMaximumItemCount ( 2 ) ; assertEquals ( 2.0 , loc0 . getX ( 0 ) . doubleValue ( ) , EPSILON ) ; assertEquals ( 3.0 , loc0 . getX ( 1 ) . doubleValue ( ) , EPSILON ) ; }