org.openstreetmap.josm.plugins.graphview.core.data
Class Tag

Object
  extended by Tag

public class Tag
extends Object

immutable representation of an OSM tag (key-value-pair)


Field Summary
 String key
          key of the tag; != null
 String value
          value of the tag; != null
 
Constructor Summary
Tag(String key, String value)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public final String key
key of the tag; != null


value

public final String value
value of the tag; != null

Constructor Detail

Tag

public Tag(String key,
           String value)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object