public final class Data extends Object implements Serializable
Sample
result objects into on
Data
object.Sample
,
Serialized FormModifier and Type | Method and Description |
---|---|
Sample |
currentSample()
Return the current
Sample object. |
int |
dataSize()
The number of
Sample objects this Data class contains. |
boolean |
equals(Object obj) |
String |
getName()
Return the name of the sample
Data collections. |
int |
hashCode() |
int |
nextParamIndex()
Return the index of the next parameter index to calculate.
|
static Data |
of(String name,
int parameterCount)
Return a new
Data object with the given name and the given number
of parameters. |
static Data |
of(String name,
List<Sample> samples)
Create a new
Data object with the given parameters. |
int |
sampleSize()
The number of values of an
Sample object. |
SampleSummary |
summary()
Calculate the sample summary of this data object.
|
String |
toString() |
public String getName()
Data
collections.Data
collectionspublic int dataSize()
Sample
objects this Data
class contains.public int sampleSize()
Sample
object.Sample
objectSample.size()
public Sample currentSample()
Sample
object. A newly created object is
returned on demand.Sample
objectpublic int nextParamIndex()
public SampleSummary summary()
public static Data of(String name, List<Sample> samples)
Data
object with the given parameters.name
- the name of the data objectsamples
- the sample list of the data objectData
object with the given parametersNullPointerException
- if one of the parameters is null
public static Data of(String name, int parameterCount)
Data
object with the given name and the given number
of parameters.name
- the name of the data objectparameterCount
- the parameter count of the created samplesData
object with the given parametersNullPointerException
- if the data name
is null
IllegalArgumentException
- if the given parameterCount
is
smaller then one© 2007-2017 Franz Wilhelmstötter (2017-04-27 23:07)