Class GenericJoinedDate<T extends IndirectionDate,TAG>
- java.lang.Object
-
- org.palladiosimulator.indirections.scheduler.data.GenericJoinedDate<T,TAG>
-
- Type Parameters:
T
- the type of the resulting dateTAG
- type of the information about the source of the data
- All Implemented Interfaces:
IndirectionDate
,GroupingIndirectionDate<T>
public class GenericJoinedDate<T extends IndirectionDate,TAG> extends Object implements GroupingIndirectionDate<T>
A joined date that retains information about where elements come from in form of tags.
-
-
Constructor Summary
Constructors Constructor Description GenericJoinedDate(Map<TAG,TaggedDate<T,TAG>> dataMap)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDate(String key, Object value)
Map<String,Object>
getData()
List<T>
getDataInGroup()
Collection<Double>
getTime()
static <T extends IndirectionDate,TAG>
GenericJoinedDate<T,TAG>of(Collection<TaggedDate<T,TAG>> data)
static <T extends IndirectionDate,TAG>
GenericJoinedDate<T,TAG>of(Map<TAG,T> data)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.indirections.interfaces.IndirectionDate
addData, evaluate, evaluate
-
-
-
-
Field Detail
-
data
public Map<TAG,TaggedDate<T extends IndirectionDate,TAG>> data
-
-
Constructor Detail
-
GenericJoinedDate
public GenericJoinedDate(Map<TAG,TaggedDate<T,TAG>> dataMap)
-
-
Method Detail
-
of
public static <T extends IndirectionDate,TAG> GenericJoinedDate<T,TAG> of(Collection<TaggedDate<T,TAG>> data)
-
of
public static <T extends IndirectionDate,TAG> GenericJoinedDate<T,TAG> of(Map<TAG,T> data)
-
addDate
public void addDate(String key, Object value)
- Specified by:
addDate
in interfaceIndirectionDate
-
getData
public Map<String,Object> getData()
- Specified by:
getData
in interfaceIndirectionDate
-
getDataInGroup
public List<T> getDataInGroup()
- Specified by:
getDataInGroup
in interfaceGroupingIndirectionDate<T extends IndirectionDate>
-
getTime
public Collection<Double> getTime()
- Specified by:
getTime
in interfaceIndirectionDate
-
-