public class MetaDataSet extends Object
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
MetaDataSet()
Default constructor.
|
MetaDataSet(MetaDataSet metaDataSet) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(MetaDataType<?> metaDataType) |
boolean |
equals(Object obj) |
<T> Set<T> |
get(MetaDataType<T> metaDataType) |
Iterator<Map.Entry<MetaDataType<?>,Set<?>>> |
getMetaDataSetIterator() |
Set<MetaDataType<?>> |
getMetaDataTypes() |
int |
hashCode() |
<T> void |
put(MetaDataType<T> metaDataType,
Set<T> values) |
int |
size() |
String |
toString() |
public MetaDataSet()
public MetaDataSet(MetaDataSet metaDataSet)
metaDataSet
- set of meta data to copy into new meta data setpublic final <T> void put(MetaDataType<T> metaDataType, Set<T> values)
T
- class of meta datametaDataType
- meta data typevalues
- values of meta datapublic final boolean contains(MetaDataType<?> metaDataType)
metaDataType
- meta data typepublic final <T> Set<T> get(MetaDataType<T> metaDataType)
T
- class of meta datametaDataType
- meta data typepublic final Set<MetaDataType<?>> getMetaDataTypes()
public final int size()
public final Iterator<Map.Entry<MetaDataType<?>,Set<?>>> getMetaDataSetIterator()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.