public class ClassInheritanceMultiMap<T>
extends java.util.AbstractCollection<T>
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<T> |
baseClass |
private java.util.Map<java.lang.Class<?>,java.util.List<T>> |
map |
private java.util.List<T> |
values |
Constructor and Description |
---|
ClassInheritanceMultiMap(java.lang.Class<T> baseClassIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T p_add_1_) |
boolean |
contains(java.lang.Object p_contains_1_) |
<S> java.util.Collection<S> |
getByClass(java.lang.Class<S> p_219790_1_) |
java.util.Iterator<T> |
iterator() |
boolean |
remove(java.lang.Object p_remove_1_) |
int |
size() |
addAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private final java.util.Map<java.lang.Class<?>,java.util.List<T>> map
private final java.lang.Class<T> baseClass
private final java.util.List<T> values
public ClassInheritanceMultiMap(java.lang.Class<T> baseClassIn)
public boolean add(T p_add_1_)
public boolean remove(java.lang.Object p_remove_1_)
public boolean contains(java.lang.Object p_contains_1_)
public <S> java.util.Collection<S> getByClass(java.lang.Class<S> p_219790_1_)
public java.util.Iterator<T> iterator()