public static class Meta.EnumTypes extends Object
| Modifier and Type | Field and Description |
|---|---|
protected E[] |
array |
| Modifier and Type | Method and Description |
|---|---|
E |
find(String name)
Searches for an item with the specified
name. |
E |
item(int index)
Get an item by index.
|
Iterator<E> |
iterator() |
protected void |
load(InputStream stream,
int version,
String language,
Meta.Factory factory) |
protected void |
prepare() |
int |
size()
Gets number elements of the list.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected void load(InputStream stream, int version, String language, Meta.Factory factory) throws IOException
IOExceptionprotected void prepare()
public final int size()
public E find(String name)
name.name - item name to search.null if not found.public E item(int index)
index - should be in range 0..size()