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