Package net.jqwik.api.statistics
Klasse NumberRangeHistogram
java.lang.Object
net.jqwik.api.statistics.Histogram
net.jqwik.api.statistics.NumberRangeHistogram
- Alle implementierten Schnittstellen:
StatisticsReportFormat
A specialized type of Histogram to divide collected numbers
into range-based clusters for display in a histogram.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.statistics.Histogram
Histogram.Bucket
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected int
buckets()
Determines the number of buckets into which the full range of collected numbers will be clustered.protected final List
<Histogram.Bucket> cluster
(List<StatisticsEntry> entries) Does not make sense to override because this has the number range functionalityprotected final Comparator
<? super StatisticsEntry> Does not make sense to override since order does not matter for clustering anywayprotected final String
label
(StatisticsEntry entry) Does not make sense to override since these labels won't be used anywayprotected String
rangeLabel
(BigInteger min, BigInteger max, boolean maxIncluded) Determines how a range of numbers is being displayed.Von Klasse geerbte Methoden net.jqwik.api.statistics.Histogram
formatReport, labelColumnHeader, maxDrawRange
-
Konstruktordetails
-
NumberRangeHistogram
public NumberRangeHistogram()
-
-
Methodendetails
-
buckets
protected int buckets()Determines the number of buckets into which the full range of collected numbers will be clustered.- Gibt zurück:
- A number greater than 0
-
rangeLabel
Determines how a range of numbers is being displayed.- Parameter:
min
- The minimum value of the range (included)max
- The maximum value of the rangemaxIncluded
- If the maximum value is included in the range- Gibt zurück:
- A string to describe the range
-
label
Does not make sense to override since these labels won't be used anyway -
comparator
Does not make sense to override since order does not matter for clustering anyway- Setzt außer Kraft:
comparator
in KlasseHistogram
- Gibt zurück:
- A comparator instance.
-
cluster
Does not make sense to override because this has the number range functionality
-