Class IndexedSlotlessItemHandlerWrapper.IndexIterator
java.lang.Object
org.cyclops.cyclopscore.inventory.IndexedSlotlessItemHandlerWrapper.IndexIterator
- All Implemented Interfaces:
it.unimi.dsi.fastutil.ints.IntIterator,Iterator<Integer>,PrimitiveIterator<Integer,,IntConsumer> PrimitiveIterator.OfInt
- Enclosing class:
IndexedSlotlessItemHandlerWrapper
public static class IndexedSlotlessItemHandlerWrapper.IndexIterator
extends Object
implements it.unimi.dsi.fastutil.ints.IntIterator
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.PrimitiveIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong -
Constructor Summary
ConstructorsConstructorDescriptionIndexIterator(Iterator<it.unimi.dsi.fastutil.ints.Int2ObjectMap.Entry<net.minecraft.world.item.ItemStack>> slotIterator, net.minecraft.world.item.ItemStack prototype, int matchFlags) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
forEachRemaining, forEachRemainingMethods inherited from interface java.util.PrimitiveIterator.OfInt
forEachRemaining
-
Constructor Details
-
IndexIterator
public IndexIterator(Iterator<it.unimi.dsi.fastutil.ints.Int2ObjectMap.Entry<net.minecraft.world.item.ItemStack>> slotIterator, net.minecraft.world.item.ItemStack prototype, int matchFlags)
-
-
Method Details
-
findNext
protected int findNext() -
hasNext
public boolean hasNext() -
next
- Specified by:
nextin interfaceit.unimi.dsi.fastutil.ints.IntIterator- Specified by:
nextin interfaceIterator<Integer>- Specified by:
nextin interfacePrimitiveIterator.OfInt
-
nextInt
public int nextInt()- Specified by:
nextIntin interfaceit.unimi.dsi.fastutil.ints.IntIterator- Specified by:
nextIntin interfacePrimitiveIterator.OfInt
-
skip
public int skip(int n) - Specified by:
skipin interfaceit.unimi.dsi.fastutil.ints.IntIterator
-