private final class MapCSSStyleSource.MapCSSRuleIndex.RuleCandidatesIterator extends java.lang.Object implements java.util.Iterator<MapCSSRule>, KeyValueVisitor
Modifier and Type | Field and Description |
---|---|
private int |
next |
private java.util.BitSet |
ruleCandidates |
Modifier | Constructor and Description |
---|---|
private |
RuleCandidatesIterator(java.util.BitSet ruleCandidates) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
MapCSSRule |
next() |
void |
prepare()
Call this before using the iterator.
|
void |
remove() |
void |
visitKeyValue(Tagged p,
java.lang.String key,
java.lang.String value)
This method gets called for every tag received.
|
private final java.util.BitSet ruleCandidates
private int next
private RuleCandidatesIterator(java.util.BitSet ruleCandidates)
public boolean hasNext()
hasNext
in interface java.util.Iterator<MapCSSRule>
public MapCSSRule next()
next
in interface java.util.Iterator<MapCSSRule>
public void remove()
remove
in interface java.util.Iterator<MapCSSRule>
public void visitKeyValue(Tagged p, java.lang.String key, java.lang.String value)
KeyValueVisitor
visitKeyValue
in interface KeyValueVisitor
p
- This primitivekey
- The keyvalue
- The valuepublic void prepare()