Constructor
new CompoundDesignator(Any)
Hierarchy
Parameters:
Name | Type | Description |
---|---|---|
Any |
number of designators |
- Source:
Extends
Methods
(static) create()
Creates a flat compound designator from a list of other designators.
- Source:
add(d)
Adds a designator to the composition.
Parameters:
Name | Type | Description |
---|---|---|
d |
The designator to add. If it is compound, each of its elements are added individually. This helps keeping the compound designators "flat". If d is null, the input is simply ignored and nothing happens. |
- Source:
head()
Extracts the designator at the head of a composition. For designators that
are atomic, returns the designator itself.
- Overrides:
- Source:
size()
Gets the size (number of atomic designators) contained in this composite
designator.
- Source:
Returns:
The number of atomic designators
tail()
Extracts the designator made of the tail of a composition. For designators
that are atomic, returns null.
- Overrides:
- Source: