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, wait
forEach, spliterator
public int size()
Index
public T get(int i)
Index
public boolean containsUnchecked(Object x)
containsUnchecked
in interface Index<T extends Enum<T>>
see also the complete user documentation .