Package alexiil.mc.lib.attributes.misc
Class AbstractCombined<T>
java.lang.Object
alexiil.mc.lib.attributes.misc.AbstractCombined<T>
- All Implemented Interfaces:
- Combined
- Direct Known Subclasses:
- CombinedFixedFluidInvView,- CombinedFixedItemInvView,- CombinedFluidExtractable,- CombinedFluidInsertable,- CombinedGroupedFluidInvView,- CombinedGroupedItemInvView,- CombinedItemExtractable,- CombinedItemInsertable
Implementation helper class for LBA 
Combined.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
list
 
- 
- 
Constructor Details- 
AbstractCombined
 
- 
- 
Method Details- 
equals
- 
hashCodepublic int hashCode()
- 
getSubObjectCountpublic int getSubObjectCount()- Specified by:
- getSubObjectCountin interface- Combined
- Returns:
- The number of sub-objects that this combines to make. May return -1 if this cannot easily expose the sub-objects cleanly.
 
- 
getSubObject- Specified by:
- getSubObjectin interface- Combined
- Parameters:
- index- The index, between 0 and- Combined.getSubObjectCount().
 
- 
toString
 
-