Class OSMTag
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.osm.OSMTag
-
- All Implemented Interfaces:
java.io.Serializable
public class OSMTag extends java.lang.Object implements java.io.SerializableCopyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $, initial version 31 dec. 2014
- Author:
- Moritz Bergmann
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OSMTag(java.lang.String key, java.lang.String value)Construct a new OSMTag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()Retrieve the key of this OSMTag.java.lang.StringgetValue()Retrieve the value of this OSMTag.java.lang.StringtoString()
-
-
-
Method Detail
-
getValue
public final java.lang.String getValue()
Retrieve the value of this OSMTag.- Returns:
- String; the value of this OSMTag
-
getKey
public final java.lang.String getKey()
Retrieve the key of this OSMTag.- Returns:
- String; the key of this OSMTag
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-