public final class EmptyDefinitionContainer extends java.lang.Object implements DefinitionContainer
| Modifier and Type | Method and Description |
|---|---|
Definition |
find(java.lang.String definitionId)
Find a Definition with the given id.
|
static DefinitionContainer |
getInstance()
Obtain the singleton EmptyDefinitionContainer instance.
|
boolean |
isEmpty()
Return true if the container is empty.
|
java.util.Iterator |
iterator()
Obtain an iterator for looping through each of the Definitions contained
in this DefinitionContainer.
|
public static DefinitionContainer getInstance()
public Definition find(java.lang.String definitionId)
find in interface DefinitionContainerdefinitionId - Identifier of the Definition that we want to find.public java.util.Iterator iterator()
iterator in interface DefinitionContainerpublic boolean isEmpty()
isEmpty in interface DefinitionContainer