Package repast.simphony.data2
Class NonAggregateDataSet
java.lang.Object
repast.simphony.data2.AbstractDataSet
repast.simphony.data2.NonAggregateDataSet
- Record Components:
T
- the type that is this data set will collect data from
- All Implemented Interfaces:
DataSet
DataSet for ordinary non-aggregate data sources. One row of data will be
recorded for each element in the recorded dataset.
- Author:
- Nick Collier
-
Field Summary
Fields inherited from class repast.simphony.data2.AbstractDataSet
id, sinks
-
Constructor Summary
ConstructorDescriptionNonAggregateDataSet
(String id, Collection<NonAggregateDataSource> sources, Collection<? extends DataSink> sinks) Creates a NonAggregateDataSet with the specified sources and sinks. -
Method Summary
Modifier and TypeMethodDescriptionGets the type of object that this dataset will collect data from.void
record
(Map<Class<?>, SizedIterable<?>> objMap) Records data from the specified ObjectListMap of objects.
-
Constructor Details
-
NonAggregateDataSet
public NonAggregateDataSet(String id, Collection<NonAggregateDataSource> sources, Collection<? extends DataSink> sinks) Creates a NonAggregateDataSet with the specified sources and sinks.- Parameters:
sources
-sinks
-
-
-
Method Details
-
getSourceIds
- Specified by:
getSourceIds
in classAbstractDataSet
-
record
Description copied from interface:DataSet
Records data from the specified ObjectListMap of objects.- Parameters:
objMap
- the objs to record the data from
-
getSourceTypes
Description copied from interface:DataSet
Gets the type of object that this dataset will collect data from.- Returns:
-