 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.data;
22 import java.util.HashMap;
23 import java.util.Iterator;
25 import java.util.TreeSet;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
53 private final Map<String, E>
objectMap =
new HashMap<>();
99 public E
get(@NotNull
final String objectName) {
110 return new TreeSet<>(
objectMap.values()).iterator();
Exception thrown to indicate that a named object is not acceptable.
This class manages NamedObjects, managing their tree as well as providing a method for showing a dial...
static final long serialVersionUID
The serial version UID.
AbstractNamedObjects(final String name)
Creates a new instance.
final Map< String, E > objectMap
The objects that are mapped.
NamedTreeNode< E > getTreeRoot()
void append(@NotNull final NamedObject namedObject)
Append a node.
boolean containsKey(@NotNull final String name)
void put(@NotNull final E object)
Stores an AbstractNamedObject.
final String name
The localized name of the object type, e.g.
final NamedTreeNode< E > treeRoot
The tree of defined objects.
This class manages NamedObjects, managing their tree as well as providing a method for showing a dial...