Class BaseLongIterator
java.lang.Object
ca.spottedleaf.concurrentutil.collection.iterator.BaseObjectIterator<Long>
ca.spottedleaf.concurrentutil.collection.iterator.BaseLongIterator
- All Implemented Interfaces:
Iterator<Long>,PrimitiveIterator<Long,,LongConsumer> PrimitiveIterator.OfLong
- Direct Known Subclasses:
ConcurrentChainedInt2LongHashTable.ValueIterator,ConcurrentChainedLong2IntHashTable.KeyIterator,ConcurrentChainedLong2LongHashTable.KeyIterator,ConcurrentChainedLong2LongHashTable.ValueIterator,ConcurrentChainedLong2ObjectHashTable.KeyIterator,ConcurrentChainedLong2ReferenceHashTable.KeyIterator,ConcurrentChainedObject2LongHashTable.ValueIterator,ConcurrentChainedReference2LongHashTable.ValueIterator
public abstract class BaseLongIterator
extends BaseObjectIterator<Long>
implements PrimitiveIterator.OfLong
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidforEachRemaining(LongConsumer action) final Longnext()abstract longnextLong()Methods inherited from class ca.spottedleaf.concurrentutil.collection.iterator.BaseObjectIterator
forEachRemaining, hasNext, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.PrimitiveIterator.OfLong
forEachRemaining
-
Constructor Details
-
BaseLongIterator
public BaseLongIterator()
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator<Long>- Specified by:
nextin interfacePrimitiveIterator.OfLong- Specified by:
nextin classBaseObjectIterator<Long>
-
nextLong
public abstract long nextLong()- Specified by:
nextLongin interfacePrimitiveIterator.OfLong
-
forEachRemaining
- Specified by:
forEachRemainingin interfacePrimitiveIterator<Long,LongConsumer> - Specified by:
forEachRemainingin interfacePrimitiveIterator.OfLong
-