Interface FramePixelShiftSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
FramePixelShiftSequence.SimpleHolder
- Enclosing class:
- FramePixelShiftSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Frame Pixel Shift Sequence" (see
FramePixelShiftSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault FramePixelShiftSequenceAdds a new Frame Pixel Shift Sequence (seeFramePixelShiftSequence) with initial capacity 1 (seeensureFramePixelShiftSequence(int)) if it does not already exist.default FramePixelShiftSequenceensureFramePixelShiftSequence(int initialCapacity) Adds a new Frame Pixel Shift Sequence (seeFramePixelShiftSequence) if it does not already exist.default FramePixelShiftSequencedefault FramePixelShiftSequencenewFramePixelShiftSequence(int initialCapacity) Adds a new Frame Pixel Shift Sequence.default voidRemoves the Frame Pixel Shift Sequence (seeFramePixelShiftSequencewrap(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 Frame Pixel Shift Sequence (seeFramePixelShiftSequence)- Returns:
- A wrapper object implementing the
FramePixelShiftSequence.Holderinterface.
-
builder
- Returns:
- a
FramePixelShiftSequence.Holder.Builderto create Frame Pixel Shift Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theFramePixelShiftSequence.Holder.Builder.- Returns:
- a
FramePixelShiftSequence.Holder.Builderto create Frame Pixel Shift Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getFramePixelShiftSequence
- Returns:
- the Frame Pixel Shift Sequence (see
FramePixelShiftSequence)
-
newFramePixelShiftSequence
Adds a new Frame Pixel Shift Sequence. (seeFramePixelShiftSequence)- Parameters:
initialCapacity- the initial capacity for the new Frame Pixel Shift Sequence
-
ensureFramePixelShiftSequence
Adds a new Frame Pixel Shift Sequence (seeFramePixelShiftSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Frame Pixel Shift Sequence is created.- Returns:
- Either the already existing Frame Pixel Shift Sequence (see
FramePixelShiftSequence) or a new one with capacityinitialCapacity.
-
ensureFramePixelShiftSequence
Adds a new Frame Pixel Shift Sequence (seeFramePixelShiftSequence) with initial capacity 1 (seeensureFramePixelShiftSequence(int)) if it does not already exist.- Returns:
- Either the already existing Frame Pixel Shift Sequence (see
FramePixelShiftSequence) or a new one with capacity 1.
-
containsFramePixelShiftSequence
default boolean containsFramePixelShiftSequence()- Returns:
- Whether it contains the Frame Pixel Shift Sequence (see
FramePixelShiftSequence)
-
removeFramePixelShiftSequence
default void removeFramePixelShiftSequence()Removes the Frame Pixel Shift Sequence (seeFramePixelShiftSequence
-