static final class ConcurrentHashMapV8.ValueSpliterator<K,V> extends ConcurrentHashMapV8.Traverser<K,V> implements ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V>
| Modifier and Type | Field and Description |
|---|---|
(package private) long |
est |
| Constructor and Description |
|---|
ValueSpliterator(ConcurrentHashMapV8.Node<K,V>[] tab,
int size,
int index,
int limit,
long est) |
| Modifier and Type | Method and Description |
|---|---|
long |
estimateSize()
Returns an estimate of the number of elements covered by
this Spliterator.
|
void |
forEachRemaining(ConcurrentHashMapV8.Action<? super V> action)
Applies the action to each untraversed element
|
boolean |
tryAdvance(ConcurrentHashMapV8.Action<? super V> action)
If an element remains, applies the action and returns true.
|
ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V> |
trySplit()
If possible, returns a new spliterator covering
approximately one half of the elements, which will not be
covered by this spliterator.
|
advanceValueSpliterator(ConcurrentHashMapV8.Node<K,V>[] tab, int size, int index, int limit, long est)
public ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V> trySplit()
ConcurrentHashMapV8.ConcurrentHashMapSpliteratortrySplit in interface ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V>public void forEachRemaining(ConcurrentHashMapV8.Action<? super V> action)
ConcurrentHashMapV8.ConcurrentHashMapSpliteratorforEachRemaining in interface ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V>public boolean tryAdvance(ConcurrentHashMapV8.Action<? super V> action)
ConcurrentHashMapV8.ConcurrentHashMapSpliteratortryAdvance in interface ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V>public long estimateSize()
ConcurrentHashMapV8.ConcurrentHashMapSpliteratorestimateSize in interface ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V>Copyright © 2010-2020 Toolsverse. All Rights Reserved.