Package com.google.gwt.core.ext.linker
Class TypeIndexedSet.TypeIndex
- java.lang.Object
-
- com.google.gwt.core.ext.linker.TypeIndexedSet.TypeIndex
-
- Enclosing class:
- TypeIndexedSet<T extends java.lang.Comparable>
static final class TypeIndexedSet.TypeIndex extends java.lang.ObjectOrganizes set members by their concrete type.
-
-
Constructor Summary
Constructors Constructor Description TypeIndex(java.lang.Iterable<? extends java.lang.Comparable> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadd(java.lang.Comparable o)Adds an item to the index.(package private) voidclear()(package private) <T extends java.lang.Comparable>
java.util.SortedSet<T>findAssignableTo(java.lang.Class<T> type)Locates all indexed members that can be assigned to type.(package private) voidremove(java.lang.Object o)Removes an item from the index.
-
-
-
Method Detail
-
clear
void clear()
-
add
void add(java.lang.Comparable o)
Adds an item to the index. If the initial index has not yet been created, no action is taken.
-
remove
void remove(java.lang.Object o)
Removes an item from the index. If the initial index has not yet been created, no action is taken.
-
findAssignableTo
<T extends java.lang.Comparable> java.util.SortedSet<T> findAssignableTo(java.lang.Class<T> type)
Locates all indexed members that can be assigned to type.
-
-