Class IngredientCollectionMultiClassified<T,M>

java.lang.Object
org.cyclops.cyclopscore.ingredient.collection.IngredientCollectionAdapter<T,M>
org.cyclops.cyclopscore.ingredient.collection.IngredientCollectionMultiClassified<T,M>
Type Parameters:
T - An instance type.
M - The matching condition parameter.
All Implemented Interfaces:
Iterable<T>, IIngredientCollection<T,M>, IIngredientCollectionLike<T,M,T>, IIngredientCollectionLikeMultiClassifiedTrait<T,M,T,IngredientCollectionSingleClassified<T,M,?,?>>, IIngredientCollectionMutable<T,M>

public class IngredientCollectionMultiClassified<T,M> extends IngredientCollectionAdapter<T,M> implements IIngredientCollectionMutable<T,M>, IIngredientCollectionLikeMultiClassifiedTrait<T,M,T,IngredientCollectionSingleClassified<T,M,?,?>>
An ingredient collection that classifies instances in smaller collections based on all category type of a component type. This allows instances to be looked up or removed more efficiently when the used match condition is compatible with the identifying match condition of category types.