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.Object

  Organizes set members by their concrete type.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TypeIndex(java.lang.Iterable<? extends java.lang.Comparable> elements)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `(package private) void` | `add(java.lang.Comparable o)` Adds an item to the index.
    `(package private) void` | `clear()`
    `(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) void` | `remove(java.lang.Object o)` Removes an item from the index.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TypeIndex

          TypeIndex(java.lang.Iterable<? extends java.lang.Comparable> elements)

  - ### 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.