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