Class ConcurrentLong2LongChainedHashTable.EntryIterator
java.lang.Object
ca.spottedleaf.concurrentutil.map.ConcurrentLong2LongChainedHashTable.NodeIterator
ca.spottedleaf.concurrentutil.map.ConcurrentLong2LongChainedHashTable.BaseIteratorImpl<ConcurrentLong2LongChainedHashTable.TableEntry>
ca.spottedleaf.concurrentutil.map.ConcurrentLong2LongChainedHashTable.EntryIterator
- All Implemented Interfaces:
Iterator<ConcurrentLong2LongChainedHashTable.TableEntry>
- Enclosing class:
ConcurrentLong2LongChainedHashTable
protected static final class ConcurrentLong2LongChainedHashTable.EntryIterator
extends ConcurrentLong2LongChainedHashTable.BaseIteratorImpl<ConcurrentLong2LongChainedHashTable.TableEntry>
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.spottedleaf.concurrentutil.map.ConcurrentLong2LongChainedHashTable.NodeIterator
ConcurrentLong2LongChainedHashTable.NodeIterator.ResizeChain -
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachRemaining(Consumer<? super ConcurrentLong2LongChainedHashTable.TableEntry> action) next()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
-
EntryIterator
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator<ConcurrentLong2LongChainedHashTable.TableEntry>- Specified by:
nextin classConcurrentLong2LongChainedHashTable.BaseIteratorImpl<ConcurrentLong2LongChainedHashTable.TableEntry>- Throws:
NoSuchElementException
-
forEachRemaining
public void forEachRemaining(Consumer<? super ConcurrentLong2LongChainedHashTable.TableEntry> action) - Specified by:
forEachRemainingin interfaceIterator<ConcurrentLong2LongChainedHashTable.TableEntry>- Specified by:
forEachRemainingin classConcurrentLong2LongChainedHashTable.BaseIteratorImpl<ConcurrentLong2LongChainedHashTable.TableEntry>
-