-
public final class RandomEntriesGeneratorGenerates randomized chart entries.
-
-
Constructor Summary
Constructors Constructor Description RandomEntriesGenerator(IntProgression xRange, IntProgression yRange)
-
Method Summary
Modifier and Type Method Description final List<FloatEntry>generateRandomEntries()Generates a List of FloatEntry instances with randomized y values. final ChartEntryModelrandomEntryModel()Creates a ChartEntryModel containing a collection of FloatEntry instances with randomized y values. final ComposedChartEntryModel<ChartEntryModel>randomComposedEntryModel()Creates a ComposedChartEntryModel with three ChartEntryModelProducers, each containing a collection of FloatEntry instances with randomized y values. -
-
Constructor Detail
-
RandomEntriesGenerator
RandomEntriesGenerator(IntProgression xRange, IntProgression yRange)
- Parameters:
xRange- the range of x values.yRange- the range from which y values are randomly selected.
-
-
Method Detail
-
generateRandomEntries
final List<FloatEntry> generateRandomEntries()
Generates a List of FloatEntry instances with randomized y values. The size of the List is equal to the number of values in xRange.
-
randomEntryModel
final ChartEntryModel randomEntryModel()
Creates a ChartEntryModel containing a collection of FloatEntry instances with randomized y values. The size of the collection is equal to the number of values in xRange.
-
randomComposedEntryModel
final ComposedChartEntryModel<ChartEntryModel> randomComposedEntryModel()
Creates a ComposedChartEntryModel with three ChartEntryModelProducers, each containing a collection of FloatEntry instances with randomized y values. The size of each collection is equal to the number of values in xRange.
-
-
-
-