Interface CorrectedParameterSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
ControlPointDeliverySequence.Item,IonControlPointDeliverySequence.Item
- Enclosing class:
- CorrectedParameterSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Corrected Parameter Sequence" (see
CorrectedParameterSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CorrectedParameterSequenceAdds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) with initial capacity 1 (seeensureCorrectedParameterSequence(int)) if it does not already exist.default CorrectedParameterSequenceensureCorrectedParameterSequence(int initialCapacity) Adds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) if it does not already exist.default CorrectedParameterSequencedefault CorrectedParameterSequencenewCorrectedParameterSequence(int initialCapacity) Adds a new Corrected Parameter Sequence.default voidRemoves the Corrected Parameter Sequence (seeCorrectedParameterSequencewrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Corrected Parameter Sequence (seeCorrectedParameterSequence)- Returns:
- A wrapper object implementing the
CorrectedParameterSequence.Holderinterface.
-
getCorrectedParameterSequence
- Returns:
- the Corrected Parameter Sequence (see
CorrectedParameterSequence)
-
newCorrectedParameterSequence
Adds a new Corrected Parameter Sequence. (seeCorrectedParameterSequence)- Parameters:
initialCapacity- the initial capacity for the new Corrected Parameter Sequence
-
ensureCorrectedParameterSequence
Adds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Corrected Parameter Sequence is created.- Returns:
- Either the already existing Corrected Parameter Sequence (see
CorrectedParameterSequence) or a new one with capacityinitialCapacity.
-
ensureCorrectedParameterSequence
Adds a new Corrected Parameter Sequence (seeCorrectedParameterSequence) with initial capacity 1 (seeensureCorrectedParameterSequence(int)) if it does not already exist.- Returns:
- Either the already existing Corrected Parameter Sequence (see
CorrectedParameterSequence) or a new one with capacity 1.
-
containsCorrectedParameterSequence
default boolean containsCorrectedParameterSequence()- Returns:
- Whether it contains the Corrected Parameter Sequence (see
CorrectedParameterSequence)
-
removeCorrectedParameterSequence
default void removeCorrectedParameterSequence()Removes the Corrected Parameter Sequence (seeCorrectedParameterSequence
-