Package adams.data.container
Interface DataPointWithMetaData
-
- All Superinterfaces:
CloneHandler
,Comparable
,DataPoint
,Serializable
- All Known Implementing Classes:
SequencePlotPoint
,XYSequencePoint
public interface DataPointWithMetaData extends DataPoint
Interface for DataPoint-implementing classes that also support meta-data.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HashMap<String,Object>
getMetaData()
Returns the stored meta-data.boolean
hasMetaData()
Checks if any meta-data is available.void
setMetaData(HashMap<String,Object> value)
Sets the meta-data to use.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
setMetaData
void setMetaData(HashMap<String,Object> value)
Sets the meta-data to use.- Parameters:
value
- the meta-data
-
getMetaData
HashMap<String,Object> getMetaData()
Returns the stored meta-data.- Returns:
- the meta-data, null if none available
-
hasMetaData
boolean hasMetaData()
Checks if any meta-data is available.- Returns:
- true if meta-data available
-
-