private static class TagMap.TagEntryInterator extends java.lang.Object implements java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>
| Modifier and Type | Field and Description |
|---|---|
private int |
currentIndex
Current tag index.
|
private java.lang.String[] |
tags
The current state of the tags we iterate over.
|
| Constructor and Description |
|---|
TagEntryInterator(java.lang.String... tags)
Create a new
TagMap.TagEntryInterator |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.util.Map.Entry<java.lang.String,java.lang.String> |
next() |
void |
remove() |
private final java.lang.String[] tags
private int currentIndex
TagEntryInterator(java.lang.String... tags)
TagMap.TagEntryInteratortags - The tags array. It is never changed but should also not be changed by you.public boolean hasNext()
hasNext in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>public java.util.Map.Entry<java.lang.String,java.lang.String> next()
next in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>public void remove()
remove in interface java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.String>>