Class InventoryIterable<Inv extends IInventory>
- java.lang.Object
-
- com.gtnewhorizon.structurelib.util.InventoryIterable<Inv>
-
- All Implemented Interfaces:
java.lang.Iterable<ItemStack>
public class InventoryIterable<Inv extends IInventory> extends java.lang.Object implements java.lang.Iterable<ItemStack>
-
-
Constructor Summary
Constructors Constructor Description InventoryIterable(Inv inv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvgetInventory()java.util.Iterator<ItemStack>iterator()
-
-
-
Constructor Detail
-
InventoryIterable
public InventoryIterable(Inv inv)
-
-
Method Detail
-
getInventory
public Inv getInventory()
-
iterator
public java.util.Iterator<ItemStack> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<Inv extends IInventory>
-
-