Class IngredientCollectionSingleClassified<T,M,C,L extends IIngredientCollectionMutable<T,M>>

java.lang.Object
org.cyclops.cyclopscore.ingredient.collection.IngredientCollectionAdapter<T,M>
org.cyclops.cyclopscore.ingredient.collection.IngredientCollectionSingleClassified<T,M,C,L>
Type Parameters:
T - An instance type.
M - The matching condition parameter.
C - A classifier type.
L - The inner collection type.
All Implemented Interfaces:
Iterable<T>, IIngredientCollection<T,M>, IIngredientCollectionLike<T,M,T>, IIngredientCollectionLikeSingleClassifiedTrait<T,M,T,C,L>, IIngredientCollectionMutable<T,M>
Direct Known Subclasses:
IngredientCollectionSingleClassifiedCollapsed

public class IngredientCollectionSingleClassified<T,M,C,L extends IIngredientCollectionMutable<T,M>> extends IngredientCollectionAdapter<T,M> implements IIngredientCollectionLikeSingleClassifiedTrait<T,M,T,C,L>
An ingredient collection that classifies instances in smaller collections based on a category 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 the configured category type.