Class ConcurrentLong2ReferenceChainedHashTable.KeyIterator<V>
java.lang.Object
ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.NodeIterator<V>
ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl<V,Long>
ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.KeyIterator<V>
- All Implemented Interfaces:
Iterator<Long>,PrimitiveIterator<Long,,LongConsumer> PrimitiveIterator.OfLong
- Enclosing class:
ConcurrentLong2ReferenceChainedHashTable<V>
protected static final class ConcurrentLong2ReferenceChainedHashTable.KeyIterator<V>
extends ConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl<V,Long>
implements PrimitiveIterator.OfLong
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.NodeIterator
ConcurrentLong2ReferenceChainedHashTable.NodeIterator.ResizeChain<V>Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Field Summary
Fields inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl
lastReturned, map, nextToReturnFields inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.NodeIterator
currentTable, increment, last, nextBin, resizeChain -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(Consumer<? super Long> action) voidforEachRemaining(LongConsumer action) next()longnextLong()Methods inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl
hasNext, nextNode, removeMethods inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2ReferenceChainedHashTable.NodeIterator
findNext
-
Constructor Details
-
KeyIterator
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator<V>- Specified by:
nextin interfacePrimitiveIterator.OfLong- Specified by:
nextin classConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl<V,Long> - Throws:
NoSuchElementException
-
nextLong
public long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
forEachRemaining
- Specified by:
forEachRemainingin interfaceIterator<V>- Specified by:
forEachRemainingin interfacePrimitiveIterator.OfLong- Specified by:
forEachRemainingin classConcurrentLong2ReferenceChainedHashTable.BaseIteratorImpl<V,Long>
-
forEachRemaining
- Specified by:
forEachRemainingin interfacePrimitiveIterator<Long,LongConsumer> - Specified by:
forEachRemainingin interfacePrimitiveIterator.OfLong
-