Interface LeftImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
StereoPairsSequence.Item
- Enclosing class:
- LeftImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Left Image Sequence" (see
LeftImageSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault LeftImageSequenceensureLeftImageSequence(int initialCapacity) Adds a new Left Image Sequence if it does not already exist.default LeftImageSequencedefault LeftImageSequencenewLeftImageSequence(int initialCapacity) Adds a new Left Image Sequence.default voidRemoves the Left Image Sequence (seeLeftImageSequencestatic LeftImageSequence.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 Left Image Sequence (seeLeftImageSequence)- Returns:
- A wrapper object implementing the
LeftImageSequence.Holderinterface.
-
getLeftImageSequence
- Returns:
- the Left Image Sequence (see
LeftImageSequence)
-
newLeftImageSequence
Adds a new Left Image Sequence. (seeLeftImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Left Image Sequence
-
ensureLeftImageSequence
Adds a new Left Image Sequence if it does not already exist. (seeLeftImageSequence)- Parameters:
initialCapacity- the initial capacity if a new Left Image Sequence is created
-
containsLeftImageSequence
default boolean containsLeftImageSequence()- Returns:
- Whether it contains the Left Image Sequence (see
LeftImageSequence)
-
removeLeftImageSequence
default void removeLeftImageSequence()Removes the Left Image Sequence (seeLeftImageSequence
-