Class FilteredIngredientCollectionLikeSingleClassifiedIterator<T,M,I,C,L extends IIngredientCollectionLike<T,M,I>>
java.lang.Object
org.cyclops.cyclopscore.ingredient.collection.FilteredIngredientCollectionLikeSingleClassifiedIterator<T,M,I,C,L>
- Type Parameters:
T
- The instance type.M
- The matching condition parameter.I
- The type that can be iterated over. This is typically just T.C
- A classifier type.L
- The collection-like type that is being used to store classified partitions.
- All Implemented Interfaces:
Iterator<I>
public class FilteredIngredientCollectionLikeSingleClassifiedIterator<T,M,I,C,L extends IIngredientCollectionLike<T,M,I>>
extends Object
implements Iterator<I>
A filtered iterator over a collection that has the
IIngredientCollectionLikeSingleClassifiedTrait
trait.-
Constructor Summary
ConstructorDescriptionFilteredIngredientCollectionLikeSingleClassifiedIterator
(IIngredientCollectionLikeSingleClassifiedTrait<T, M, I, C, L> classifiedCollection, IIngredientMatcher<T, M> matcher, T instance, M matchCondition) Create a new instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
FilteredIngredientCollectionLikeSingleClassifiedIterator
public FilteredIngredientCollectionLikeSingleClassifiedIterator(IIngredientCollectionLikeSingleClassifiedTrait<T, M, I, C, L> classifiedCollection, IIngredientMatcher<T, M> matcher, T instance, M matchCondition) Create a new instance.- Parameters:
classifiedCollection
- The classified collection this iterator is created for.matcher
- A matcher for the type of instances.instance
- An instance to match.matchCondition
- A match condition to filter by.
-
-
Method Details