Class OSMTag

  • All Implemented Interfaces:
    java.io.Serializable

    public class OSMTag
    extends java.lang.Object
    implements java.io.Serializable

    Copyright (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.String getKey()
      Retrieve the key of this OSMTag.
      java.lang.String getValue()
      Retrieve the value of this OSMTag.
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OSMTag

        public OSMTag​(java.lang.String key,
                      java.lang.String value)
        Construct a new OSMTag.
        Parameters:
        key - String; the key of the new OSMTag
        value - String; the value of the new OSMTag
    • 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:
        toString in class java.lang.Object