Class IngredientMapSingleClassified<T,M,V,C>

java.lang.Object
org.cyclops.cyclopscore.ingredient.collection.IngredientMapAdapter<T,M,V>
org.cyclops.cyclopscore.ingredient.collection.IngredientMapSingleClassified<T,M,V,C>
Type Parameters:
T - The instance type.
M - The matching condition parameter.
V - The type of mapped values.
C - The category type.
All Implemented Interfaces:
Iterable<Map.Entry<T,V>>, IIngredientCollectionLike<T,M,Map.Entry<T,V>>, IIngredientCollectionLikeSingleClassifiedTrait<T,M,Map.Entry<T,V>,C,IIngredientMapMutable<T,M,V>>, IIngredientMap<T,M,V>, IIngredientMapMutable<T,M,V>

public class IngredientMapSingleClassified<T,M,V,C> extends IngredientMapAdapter<T,M,V> implements IIngredientCollectionLikeSingleClassifiedTrait<T,M,Map.Entry<T,V>,C,IIngredientMapMutable<T,M,V>>
An ingredient map 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.