public class ReadOnlySegmentAwareEntrySet<K,V> extends ReadOnlySegmentAwareSet<Map.Entry<K,V>>
This iterator is used with specifically with the ReadOnlySegmentAwareEntrySet
to properly filter the entry by the key instead of the entry instance itself.
allowedSegments, ch, set
Constructor and Description |
---|
ReadOnlySegmentAwareEntrySet(Set<Map.Entry<K,V>> set,
ConsistentHash ch,
Set<Integer> allowedSegments) |
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<K,V>> |
iterator() |
protected boolean |
valueAllowed(Object obj) |
contains, containsAll, delegate, isEmpty, size
add, addAll, clear, forEach, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, addAll, clear, equals, hashCode, remove, removeAll, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected boolean valueAllowed(Object obj)
valueAllowed
in class ReadOnlySegmentAwareSet<Map.Entry<K,V>>
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.