public class PreviewCollection<CollectionElementType extends Preview> extends Preview
Constructor and Description |
---|
PreviewCollection(String orderingName,
String indexName,
Class<?> taskClass) |
PreviewCollection(String orderingName,
String indexName,
Class<?> taskClass,
String variedParamName,
double[] variedParamValues) |
Modifier and Type | Method and Description |
---|---|
String |
entryToString(int entryIndex) |
String |
entryToString(int subPreviewIndex,
int interlacedEntryIndex) |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double[] |
getEntryData(int entryIndex) |
String |
getIndexName() |
String |
getMeasurementName(int measurementIndex) |
int |
getMeasurementNameCount() |
String |
getOrderingName() |
List<CollectionElementType> |
getPreviews() |
Class<?> |
getTaskClass() |
String |
getVariedParamName() |
double[] |
getVariedParamValues() |
String |
headerToString() |
int |
numEntries() |
void |
setPreview(int previewIndex,
CollectionElementType preview) |
String |
toString()
Returns a description of the object.
|
getData, getMeasurementNames
copy, copy, measureByteSize, measureByteSize
public PreviewCollection(String orderingName, String indexName, Class<?> taskClass, String variedParamName, double[] variedParamValues)
public void setPreview(int previewIndex, CollectionElementType preview) throws IllegalArgumentException
IllegalArgumentException
public int numEntries()
numEntries
in class Preview
public String headerToString()
public String entryToString(int entryIndex)
entryToString
in class Preview
public String entryToString(int subPreviewIndex, int interlacedEntryIndex)
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentpublic List<CollectionElementType> getPreviews()
public String toString()
AbstractMOAObject
toString
in class AbstractMOAObject
public int getMeasurementNameCount()
getMeasurementNameCount
in class Preview
public String getMeasurementName(int measurementIndex)
getMeasurementName
in class Preview
public Class<?> getTaskClass()
getTaskClass
in class Preview
public double[] getEntryData(int entryIndex)
getEntryData
in class Preview
public String getOrderingName()
public String getIndexName()
public String getVariedParamName()
public double[] getVariedParamValues()
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.