Interface ThresholdSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AdvancedBlendingSequence.Item
- Enclosing class:
- ThresholdSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Threshold Sequence" (see
ThresholdSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault ThresholdSequenceensureThresholdSequence(int initialCapacity) Adds a new Threshold Sequence if it does not already exist.default ThresholdSequencedefault ThresholdSequencenewThresholdSequence(int initialCapacity) Adds a new Threshold Sequence.default voidRemoves the Threshold Sequence (seeThresholdSequencestatic ThresholdSequence.Holderwrap(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 Threshold Sequence (seeThresholdSequence)- Returns:
- A wrapper object implementing the
ThresholdSequence.Holderinterface.
-
getThresholdSequence
- Returns:
- the Threshold Sequence (see
ThresholdSequence)
-
newThresholdSequence
Adds a new Threshold Sequence. (seeThresholdSequence)- Parameters:
initialCapacity- the initial capacity for the new Threshold Sequence
-
ensureThresholdSequence
Adds a new Threshold Sequence if it does not already exist. (seeThresholdSequence)- Parameters:
initialCapacity- the initial capacity if a new Threshold Sequence is created
-
containsThresholdSequence
default boolean containsThresholdSequence()- Returns:
- Whether it contains the Threshold Sequence (see
ThresholdSequence)
-
removeThresholdSequence
default void removeThresholdSequence()Removes the Threshold Sequence (seeThresholdSequence
-