public class MetaData 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 |
---|
MetaData()
Default constructor.
|
MetaData(MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(MetaDataType<?> metaDataType) |
boolean |
equals(Object obj) |
<T> T |
get(MetaDataType<T> metaDataType) |
Iterator<Map.Entry<MetaDataType<?>,Object>> |
getMetaDataIterator() |
Set<MetaDataType<?>> |
getMetaDataTypes() |
int |
hashCode() |
<T> void |
put(MetaDataType<T> metaDataType,
T value) |
int |
size() |
String |
toString() |
public MetaData()
public MetaData(MetaData metaData)
metaData
- meta data to copy into new meta datapublic final <T> void put(MetaDataType<T> metaDataType, T value)
T
- class of meta datametaDataType
- meta data typevalue
- value of meta datapublic final boolean contains(MetaDataType<?> metaDataType)
metaDataType
- meta data typepublic final <T> 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<?>,Object>> getMetaDataIterator()
Copyright © 2014–2018 Delft University of Technology. All rights reserved.