Class WrappedIngredients

java.lang.Object
org.cyclops.commoncapabilities.api.ingredient.MixedIngredientsAdapter
org.cyclops.integrateddynamics.core.ingredient.WrappedIngredients
All Implemented Interfaces:
Comparable<org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients>, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients
Direct Known Subclasses:
ExtendedIngredientsList, ExtendedIngredientsSingle

public class WrappedIngredients extends org.cyclops.commoncapabilities.api.ingredient.MixedIngredientsAdapter
A wrapper around ingredients.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WrappedIngredients(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>>
     
    <T> List<T>
    getInstances(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,?> ingredientComponent)
     

    Methods inherited from class org.cyclops.commoncapabilities.api.ingredient.MixedIngredientsAdapter

    compareCollection, compareCollection, compareTo, equals, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients

    containsAll, getFirstNonEmpty, isEmpty
  • Constructor Details

    • WrappedIngredients

      public WrappedIngredients(org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients ingredients)
  • Method Details

    • getComponents

      public Set<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>> getComponents()
    • getInstances

      public <T> List<T> getInstances(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<T,?> ingredientComponent)