Changeset 11608 in josm for trunk/src/org/openstreetmap/josm/data/osm/Tagged.java
- Timestamp:
- 2017-02-25T03:14:20+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Tagged.java
r10736 r11608 4 4 import java.util.Collection; 5 5 import java.util.Map; 6 6 7 /** 7 8 * Objects implement Tagged if they provide a map of key/value pairs. 8 9 * 9 * 10 * @since 2115 10 11 */ 11 12 // FIXME: better naming? setTags(), getTags(), getKeys() instead of keySet() ? … … 67 68 68 69 /** 70 * Replies true if there is a tag with key <code>key</code>. 71 * 72 * @param key the key 73 * @return true, if there is a tag with key <code>key</code> 74 * @since 11608 75 */ 76 default boolean hasKey(String key) { 77 return get(key) != null; 78 } 79 80 /** 69 81 * Replies the set of keys 70 82 *
Note:
See TracChangeset
for help on using the changeset viewer.