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 Comparable>
Organizes set members by their concrete type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
add
(Comparable o) Adds an item to the index.(package private) void
clear()
(package private) <T extends Comparable>
SortedSet<T>findAssignableTo
(Class<T> type) Locates all indexed members that can be assigned to type.(package private) void
Removes an item from the index.
-
Constructor Details
-
TypeIndex
TypeIndex(Iterable<? extends Comparable> elements)
-
-
Method Details
-
clear
void clear() -
add
Adds an item to the index. If the initial index has not yet been created, no action is taken. -
remove
Removes an item from the index. If the initial index has not yet been created, no action is taken. -
findAssignableTo
Locates all indexed members that can be assigned to type.
-