public class ReadOnlySegmentAwareEntryIterator<K,V> extends ReadOnlySegmentAwareIterator<Map.Entry<K,V>>
This iterator is specifically used with the ReadOnlySegmentAwareEntrySet
so
that it will properly filter out entries by their key instead of by the entry instance
allowedSegments, ch, iter, next
Constructor and Description |
---|
ReadOnlySegmentAwareEntryIterator(Iterator<Map.Entry<K,V>> iter,
ConsistentHash ch,
Set<Integer> allowedSegments) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
valueAllowed(Object obj) |
findNext, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected boolean valueAllowed(Object obj)
valueAllowed
in class ReadOnlySegmentAwareIterator<Map.Entry<K,V>>
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.