public interface NamedObjects<E extends NamedObject>
extends java.lang.Iterable<E>, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(@NotNull java.lang.String name)
Check whether an object is defined.
|
E |
get(@NotNull java.lang.String objectName)
Gets a AbstractNamedObject.
|
@NotNull java.lang.String |
getName()
Returns the tree name.
|
@NotNull NamedTreeNode<E> |
getTreeRoot()
Get the object tree root.
|
java.util.Iterator<E> |
iterator()
NamedObjects are iterated in Unicode (=case sensitive
ASCII) order.
|
int |
size()
Get the number of objects.
|
@NotNull @NotNull NamedTreeNode<E> getTreeRoot()
@NotNull @NotNull java.lang.String getName()
int size()
@Nullable E get(@NotNull @NotNull java.lang.String objectName)
objectName - name of objectobjectName or null if none
foundboolean containsKey(@NotNull
@NotNull java.lang.String name)
name - object name to look fortrue if an object with that name is defined, otherwise
falsejava.util.Iterator<E> iterator()
iterator in interface java.lang.Iterable<E extends NamedObject>