Interface RightImageSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RightImageSequence.SimpleHolder,StereoPairsSequence.Item
- Enclosing class:
- RightImageSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Right Image Sequence" (see
RightImageSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RightImageSequenceAdds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.default RightImageSequenceensureRightImageSequence(int initialCapacity) Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist.default RightImageSequencedefault RightImageSequencenewRightImageSequence(int initialCapacity) Adds a new Right Image Sequence.default voidRemoves the Right Image Sequence (seeRightImageSequencestatic RightImageSequence.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 Right Image Sequence (seeRightImageSequence)- Returns:
- A wrapper object implementing the
RightImageSequence.Holderinterface.
-
builder
- Returns:
- a
RightImageSequence.Holder.Builderto create Right Image Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRightImageSequence.Holder.Builder.- Returns:
- a
RightImageSequence.Holder.Builderto create Right Image Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRightImageSequence
- Returns:
- the Right Image Sequence (see
RightImageSequence)
-
newRightImageSequence
Adds a new Right Image Sequence. (seeRightImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Right Image Sequence
-
ensureRightImageSequence
Adds a new Right Image Sequence (seeRightImageSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Right Image Sequence is created.- Returns:
- Either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacityinitialCapacity.
-
ensureRightImageSequence
Adds a new Right Image Sequence (seeRightImageSequence) with initial capacity 1 (seeensureRightImageSequence(int)) if it does not already exist.- Returns:
- Either the already existing Right Image Sequence (see
RightImageSequence) or a new one with capacity 1.
-
containsRightImageSequence
default boolean containsRightImageSequence()- Returns:
- Whether it contains the Right Image Sequence (see
RightImageSequence)
-
removeRightImageSequence
default void removeRightImageSequence()Removes the Right Image Sequence (seeRightImageSequence
-