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
ConstructorDescriptionIndexIterator
(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, wait
Methods inherited from interface it.unimi.dsi.fastutil.ints.IntIterator
forEachRemaining, forEachRemaining
Methods 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:
next
in interfaceit.unimi.dsi.fastutil.ints.IntIterator
- Specified by:
next
in interfaceIterator<Integer>
- Specified by:
next
in interfacePrimitiveIterator.OfInt
-
nextInt
public int nextInt()- Specified by:
nextInt
in interfaceit.unimi.dsi.fastutil.ints.IntIterator
- Specified by:
nextInt
in interfacePrimitiveIterator.OfInt
-
skip
public int skip(int n) - Specified by:
skip
in interfaceit.unimi.dsi.fastutil.ints.IntIterator
-