Interface LeftImageSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
StereoPairsSequence.Item
- Enclosing class:
- LeftImageSequence
public static interface LeftImageSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Left Image Sequence" (seeLeftImageSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLeftImageSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static LeftImageSequence.Holder.Builderbuilder()static LeftImageSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsLeftImageSequence()default LeftImageSequenceensureLeftImageSequence()Adds 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 LeftImageSequencegetLeftImageSequence()default LeftImageSequencenewLeftImageSequence(int initialCapacity)Adds a new Left Image Sequence.default voidremoveLeftImageSequence()Removes the Left Image Sequence (seeLeftImageSequencestatic LeftImageSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static LeftImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Left Image Sequence (seeLeftImageSequence)- Returns:
- a wrapper object implementing the
LeftImageSequence.Holderinterface.
-
builder
static LeftImageSequence.Holder.Builder builder()
- Returns:
- a
LeftImageSequence.Holder.Builderto create Left Image Sequence Items with a fluent API.
-
builder
static LeftImageSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default LeftImageSequence getLeftImageSequence()
- Returns:
- the Left Image Sequence (see
LeftImageSequence)
-
newLeftImageSequence
default LeftImageSequence newLeftImageSequence(int initialCapacity)
Adds a new Left Image Sequence. (seeLeftImageSequence)- Parameters:
initialCapacity- the initial capacity for the new Left Image Sequence- Returns:
- the newly created LeftImageSequence.
-
ensureLeftImageSequence
default LeftImageSequence ensureLeftImageSequence(int initialCapacity)
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
default LeftImageSequence 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
-
-