Changeset 9649 in josm for trunk/src/org/openstreetmap/josm/data/osm/Tag.java
- Timestamp:
- 2016-01-27T17:02:17+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Tag.java
r9545 r9649 5 5 import java.util.Collections; 6 6 import java.util.Map; 7 import java.util.Map.Entry; 7 8 import java.util.Objects; 8 9 … … 18 19 * the modifying methods throw an {@link UnsupportedOperationException}. 19 20 */ 20 public class Tag implements Tagged {21 public class Tag implements Tagged, Entry<String, String> { 21 22 22 23 private final String key; … … 66 67 * @return the key of the tag 67 68 */ 69 @Override 68 70 public String getKey() { 69 71 return key; … … 75 77 * @return the value of the tag 76 78 */ 79 @Override 77 80 public String getValue() { 78 81 return value; 82 } 83 84 /** 85 * This is not supported by this implementation. 86 * @param value ignored 87 * @return (Does not return) 88 * @throws UnsupportedOperationException always 89 */ 90 @Override 91 public String setValue(String value) { 92 throw new UnsupportedOperationException(); 79 93 } 80 94
Note:
See TracChangeset
for help on using the changeset viewer.