Package org.openstreetmap.josm.data.osm
Class TagMap.TagEntrySet
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<java.util.Map.Entry<java.lang.String,java.lang.String>>
-
- org.openstreetmap.josm.data.osm.TagMap.TagEntrySet
-
- All Implemented Interfaces:
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
,java.util.Collection<java.util.Map.Entry<java.lang.String,java.lang.String>>
,java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Enclosing class:
- TagMap
private static class TagMap.TagEntrySet extends java.util.AbstractSet<java.util.Map.Entry<java.lang.String,java.lang.String>>
This is the entry set of this map. It represents the state when it was created.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String[]
tags
-
Constructor Summary
Constructors Constructor Description TagEntrySet(java.lang.String... tags)
Create a newTagMap.TagEntrySet
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>
iterator()
int
size()
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
-
-
-
-
Field Detail
-
tags
private final java.lang.String[] tags
-
-
Constructor Detail
-
TagEntrySet
TagEntrySet(java.lang.String... tags)
Create a newTagMap.TagEntrySet
- Parameters:
tags
- The tags array. It is never changed but should also not be changed by you.
-
-
Method Detail
-
iterator
public java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>> iterator()
- Specified by:
iterator
in interfacejava.util.Collection<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Specified by:
iterator
in interfacejava.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Specified by:
iterator
in classjava.util.AbstractCollection<java.util.Map.Entry<java.lang.String,java.lang.String>>
-
size
public int size()
- Specified by:
size
in interfacejava.util.Collection<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Specified by:
size
in interfacejava.util.Set<java.util.Map.Entry<java.lang.String,java.lang.String>>
- Specified by:
size
in classjava.util.AbstractCollection<java.util.Map.Entry<java.lang.String,java.lang.String>>
-
-