Interface WedgeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BeamSequence.Item
- Enclosing class:
- WedgeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Wedge Sequence" (see
WedgeSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault WedgeSequenceAdds a new Wedge Sequence (seeWedgeSequence) with initial capacity 1 (seeensureWedgeSequence(int)) if it does not already exist.default WedgeSequenceensureWedgeSequence(int initialCapacity) Adds a new Wedge Sequence (seeWedgeSequence) if it does not already exist.default WedgeSequencedefault WedgeSequencenewWedgeSequence(int initialCapacity) Adds a new Wedge Sequence.default voidRemoves the Wedge Sequence (seeWedgeSequencestatic WedgeSequence.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 Wedge Sequence (seeWedgeSequence)- Returns:
- A wrapper object implementing the
WedgeSequence.Holderinterface.
-
getWedgeSequence
- Returns:
- the Wedge Sequence (see
WedgeSequence)
-
newWedgeSequence
Adds a new Wedge Sequence. (seeWedgeSequence)- Parameters:
initialCapacity- the initial capacity for the new Wedge Sequence
-
ensureWedgeSequence
Adds a new Wedge Sequence (seeWedgeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Wedge Sequence is created.- Returns:
- Either the already existing Wedge Sequence (see
WedgeSequence) or a new one with capacityinitialCapacity.
-
ensureWedgeSequence
Adds a new Wedge Sequence (seeWedgeSequence) with initial capacity 1 (seeensureWedgeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Wedge Sequence (see
WedgeSequence) or a new one with capacity 1.
-
containsWedgeSequence
default boolean containsWedgeSequence()- Returns:
- Whether it contains the Wedge Sequence (see
WedgeSequence)
-
removeWedgeSequence
default void removeWedgeSequence()Removes the Wedge Sequence (seeWedgeSequence
-