public class ArrayListDefinitionContainer extends java.util.ArrayList implements DefinitionContainer
| Constructor and Description | 
|---|
ArrayListDefinitionContainer()
Default Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Definition | 
find(java.lang.String definitionId)
Finds a Definition with the given id. 
 | 
int | 
getSize()
Returns the number of Definition instances contained in this ArrayListDefinitionContainer. 
 | 
Definition | 
item(int index)
Retrieves the Definition located at the given position in the array. 
 | 
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizefinalize, getClass, notify, notifyAll, wait, wait, waitisEmpty, iteratorpublic ArrayListDefinitionContainer()
public int getSize()
public Definition item(int index)
index - Position of the Definition to be retrieved.public Definition find(java.lang.String definitionId)
find in interface DefinitionContainerdefinitionId - Identifier of the Definition that we want to find.