Class Sample
java.lang.Object
org.moeaframework.core.TypedProperties
org.moeaframework.analysis.sample.Sample
- All Implemented Interfaces:
Referenceable
,Displayable
,Formattable<Map.Entry<String,
String>>
A single parameter sample.
-
Field Summary
Fields inherited from class org.moeaframework.core.TypedProperties
DEFAULT_SEPARATOR
-
Constructor Summary
-
Method Summary
Methods inherited from class org.moeaframework.core.TypedProperties
addAll, addAll, asTabularData, clear, clearAccessedProperties, contains, createScope, equals, getAccessedProperties, getBoolean, getBoolean, getByte, getByte, getByteArray, getByteArray, getDouble, getDouble, getDoubleArray, getDoubleArray, getEnum, getEnum, getEnumFromPartialString, getEnumFromString, getFloat, getFloat, getFloatArray, getFloatArray, getInt, getInt, getIntArray, getIntArray, getLong, getLong, getLongArray, getLongArray, getShort, getShort, getShortArray, getShortArray, getString, getString, getStringArray, getStringArray, getTruncatedInt, getTruncatedInt, getTruncatedLong, getTruncatedLong, getUnaccessedProperties, hashCode, isEmpty, keySet, load, loadBuildProperties, newThreadSafeInstance, of, of, of, of, of, of, of, of, of, of, remove, save, save, setBoolean, setByte, setByteArray, setDouble, setDoubleArray, setEnum, setFloat, setFloatArray, setInt, setIntArray, setLong, setLongArray, setShort, setShortArray, setString, setStringArray, size, throwIfUnaccessedProperties, warnIfUnaccessedProperties
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.moeaframework.util.format.Displayable
display
-
Constructor Details
-
Sample
public Sample()Constructs a new, empty sample.
-
-
Method Details
-
copy
Creates a copy of this parameter.- Returns:
- the copy
-
get
Reads the value of a parameter from this sample.- Type Parameters:
T
- the type of the parameter- Parameters:
parameter
- the parameter- Returns:
- the parameter value
-
getReference
Description copied from interface:Referenceable
Returns the data store reference for this object.- Specified by:
getReference
in interfaceReferenceable
- Returns:
- the reference
-