Interface LeftImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
LeftImageSequence.SimpleHolder,StereoPairsSequence.Item
- Enclosing class:
- LeftImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Left Image Sequence" (see
LeftImageSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault LeftImageSequenceAdds a new Left Image Sequence (seeLeftImageSequence) with initial capacity 1 (seeensureLeftImageSequence(int)) if it does not already exist.default LeftImageSequenceensureLeftImageSequence(int initialCapacity) Adds a new Left Image Sequence (seeLeftImageSequence) 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.
-
builder
- Returns:
- a
LeftImageSequence.Holder.Builderto create Left Image Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theLeftImageSequence.Holder.Builder.- Returns:
- a
LeftImageSequence.Holder.Builderto create Left Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
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 (seeLeftImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Left Image Sequence is created.- Returns:
- Either the already existing Left Image Sequence (see
LeftImageSequence) or a new one with capacityinitialCapacity.
-
ensureLeftImageSequence
Adds a new Left Image Sequence (seeLeftImageSequence) with initial capacity 1 (seeensureLeftImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Left Image Sequence (see
LeftImageSequence) or a new one with capacity 1.
-
containsLeftImageSequence
default boolean containsLeftImageSequence()- Returns:
- Whether it contains the Left Image Sequence (see
LeftImageSequence)
-
removeLeftImageSequence
default void removeLeftImageSequence()Removes the Left Image Sequence (seeLeftImageSequence
-