Class IngredientInstanceWrapper<T,M>
java.lang.Object
org.cyclops.commoncapabilities.api.ingredient.IngredientInstanceWrapper<T,M>
- All Implemented Interfaces:
Comparable<IngredientInstanceWrapper<T,M>>
public class IngredientInstanceWrapper<T,M>
extends Object
implements Comparable<IngredientInstanceWrapper<T,M>>
A wrapper around an ingredient component instance that properly implements the
equals(Object), hashCode() and Comparable.compareTo(Object) methods.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IngredientInstanceWrapper
-
-
Method Details
-
getComponent
-
getInstance
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<T>
-