public class EnumIndex<T extends Enum<T>> extends Object implements Index<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(T t) |
boolean |
containsUnchecked(Object x) |
T |
get(int i)
Returns the object associated with a given number.
|
int |
indexOf(T t) |
int |
indexOfUnchecked(Object t) |
Iterator<T> |
iterator() |
int |
size()
Returns the number of objects in this index.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic int size()
Indexpublic T get(int i)
Indexpublic boolean containsUnchecked(Object x)
containsUnchecked in interface Index<T extends Enum<T>>see also the complete user documentation .