public final class SampleSummary extends Object implements Serializable
Sample
objects.Data
,
Sample
,
SampleSummaryPoint
,
SampleSummaryStatistics
,
Serialized FormModifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ISeq<SampleSummaryPoint> |
getPoints()
Return the summary points.
|
int |
hashCode() |
static SampleSummary |
of(ISeq<SampleSummaryPoint> points)
Create a new
SampleSummary object from the given sample points. |
static SampleSummary |
of(SampleSummaryStatistics statistics)
Return a new
SampleSummary for the given
SampleSummaryStatistics . |
int |
parameterCount()
Return the number of
SampleSummaryPoint this summary, one for
every parameter. |
Stream<SampleSummaryPoint> |
stream()
Return the summary points as
Stream . |
static Collector<Sample,?,SampleSummary> |
toSampleSummary(int parameterCount)
Return a
Collector for creating a SampleSummary object. |
public int parameterCount()
SampleSummaryPoint
this summary, one for
every parameter.public ISeq<SampleSummaryPoint> getPoints()
public Stream<SampleSummaryPoint> stream()
Stream
.Stream
public static SampleSummary of(ISeq<SampleSummaryPoint> points)
SampleSummary
object from the given sample points.points
- the summary pointsSampleSummary
instanceNullPointerException
- if the argument is null
public static SampleSummary of(SampleSummaryStatistics statistics)
SampleSummary
for the given
SampleSummaryStatistics
.statistics
- the summary statistics objectSampleSummary
instanceNullPointerException
- if the argument is null
public static Collector<Sample,?,SampleSummary> toSampleSummary(int parameterCount)
Collector
for creating a SampleSummary
object.parameterCount
- the number of parameters of the samplesSampleSummary
Collector
IllegalArgumentException
- if the given parameterCount
is
smaller than one© 2007-2017 Franz Wilhelmstötter (2017-04-27 23:07)