Package org.yamcs.xtce
Class NamedDescriptionIndex<T extends NameDescription>
java.lang.Object
org.yamcs.xtce.NamedDescriptionIndex<T>
- All Implemented Interfaces:
Serializable
,Iterable<T>
public class NamedDescriptionIndex<T extends NameDescription>
extends Object
implements Serializable, Iterable<T>
Keeps a list of
NameDescription
objects with corresponding indexes to be able to retrieve them in any namespace.
Note that the names are case sensitive while aliases are not.- See Also:
-
Constructor Details
-
NamedDescriptionIndex
public NamedDescriptionIndex()
-
-
Method Details
-
add
-
get
returns the object based on its qualified name -
get
returns the object in namespace- Parameters:
name
-nameSpace
-- Returns:
-
getObjects
returns a collection of all the objects (parameters) in the index- Returns:
-
size
public int size()- Returns:
- number of objects in index
-
iterator
- Specified by:
iterator
in interfaceIterable<T extends NameDescription>
-