Package net.minecraft.util
Class ClassInheritanceMultiMap<T>
- java.lang.Object
-
- java.util.AbstractCollection<T>
-
- net.minecraft.util.ClassInheritanceMultiMap<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,java.util.Collection<T>
public class ClassInheritanceMultiMap<T> extends java.util.AbstractCollection<T>
-
-
Constructor Summary
Constructors Constructor Description ClassInheritanceMultiMap(java.lang.Class<T> p_i45909_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(T p_add_1_)
boolean
contains(java.lang.Object p_contains_1_)
<S> java.util.Collection<S>
find(java.lang.Class<S> p_219790_1_)
java.util.List<T>
getAllInstances()
java.util.Iterator<T>
iterator()
boolean
remove(java.lang.Object p_remove_1_)
int
size()
-
Methods inherited from class java.util.AbstractCollection
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
ClassInheritanceMultiMap
public ClassInheritanceMultiMap(java.lang.Class<T> p_i45909_1_)
-
-
Method Detail
-
add
public boolean add(T p_add_1_)
-
remove
public boolean remove(java.lang.Object p_remove_1_)
-
contains
public boolean contains(java.lang.Object p_contains_1_)
-
find
public <S> java.util.Collection<S> find(java.lang.Class<S> p_219790_1_)
-
iterator
public java.util.Iterator<T> iterator()
-
getAllInstances
public java.util.List<T> getAllInstances()
-
-