| Constructor and Description |
|---|
ArchetypeTypeList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int value,
@NotNull java.lang.String name)
Adds an entry.
|
@NotNull Pair<java.lang.Integer,java.lang.String> |
get(int index)
Returns an entry by index.
|
@NotNull java.util.Iterator<Pair<java.lang.Integer,java.lang.String>> |
iterator() |
int |
size()
Returns the number of entries.
|
@NotNull public @NotNull java.util.Iterator<Pair<java.lang.Integer,java.lang.String>> iterator()
iterator in interface java.lang.Iterable<Pair<java.lang.Integer,java.lang.String>>public int size()
public void add(int value,
@NotNull
@NotNull java.lang.String name)
value - the entry's valuename - the entry's namejava.lang.IllegalArgumentException - if the values are not acceptable@NotNull public @NotNull Pair<java.lang.Integer,java.lang.String> get(int index)
index - the index