Class TypeFilterableList<T>

java.lang.Object
java.util.AbstractCollection<T>
net.minecraft.util.collection.TypeFilterableList<T>
Type Parameters:
T - the common element type
All Implemented Interfaces:
Iterable<T>, Collection<T>

public class TypeFilterableList<T>
extends AbstractCollection<T>
A collection allowing getting all elements of a specific type. Backed by ArrayLists.

This implementation is not efficient for frequent modifications. You shouldn't use this if you don't call getAllOfType(Class).

See Also:
getAllOfType(Class)