Class BaseIntIterator
java.lang.Object
ca.spottedleaf.concurrentutil.collection.iterator.BaseObjectIterator<Integer>
ca.spottedleaf.concurrentutil.collection.iterator.BaseIntIterator
- All Implemented Interfaces:
Iterator<Integer>, PrimitiveIterator<Integer, IntConsumer>, PrimitiveIterator.OfInt
- Direct Known Subclasses:
ConcurrentChainedInt2IntHashTable.KeyIterator, ConcurrentChainedInt2IntHashTable.ValueIterator, ConcurrentChainedInt2LongHashTable.KeyIterator, ConcurrentChainedInt2ObjectHashTable.KeyIterator, ConcurrentChainedInt2ReferenceHashTable.KeyIterator, ConcurrentChainedLong2IntHashTable.ValueIterator, ConcurrentChainedObject2IntHashTable.ValueIterator, ConcurrentChainedReference2IntHashTable.ValueIterator
public abstract class BaseIntIterator
extends BaseObjectIterator<Integer>
implements PrimitiveIterator.OfInt
-
Nested Class Summary
Nested classes/interfaces inherited from interface PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidforEachRemaining(IntConsumer action) final Integernext()abstract intnextInt()Methods inherited from class BaseObjectIterator
forEachRemaining, hasNext, removeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PrimitiveIterator.OfInt
forEachRemaining
-
Constructor Details
-
BaseIntIterator
public BaseIntIterator()
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator<Integer>- Specified by:
nextin interfacePrimitiveIterator.OfInt- Specified by:
nextin classBaseObjectIterator<Integer>
-
nextInt
public abstract int nextInt()- Specified by:
nextIntin interfacePrimitiveIterator.OfInt
-
forEachRemaining
- Specified by:
forEachRemainingin interfacePrimitiveIterator<Integer, IntConsumer>- Specified by:
forEachRemainingin interfacePrimitiveIterator.OfInt
-