Interface BlockEdgeDataSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
BlockDefinitionSequence.Item
- Enclosing class:
- BlockEdgeDataSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Block Edge Data Sequence" (see
BlockEdgeDataSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault BlockEdgeDataSequenceAdds a new Block Edge Data Sequence (seeBlockEdgeDataSequence) with initial capacity 1 (seeensureBlockEdgeDataSequence(int)) if it does not already exist.default BlockEdgeDataSequenceensureBlockEdgeDataSequence(int initialCapacity) Adds a new Block Edge Data Sequence (seeBlockEdgeDataSequence) if it does not already exist.default BlockEdgeDataSequencedefault BlockEdgeDataSequencenewBlockEdgeDataSequence(int initialCapacity) Adds a new Block Edge Data Sequence.default voidRemoves the Block Edge Data Sequence (seeBlockEdgeDataSequencestatic BlockEdgeDataSequence.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 Block Edge Data Sequence (seeBlockEdgeDataSequence)- Returns:
- A wrapper object implementing the
BlockEdgeDataSequence.Holderinterface.
-
getBlockEdgeDataSequence
- Returns:
- the Block Edge Data Sequence (see
BlockEdgeDataSequence)
-
newBlockEdgeDataSequence
Adds a new Block Edge Data Sequence. (seeBlockEdgeDataSequence)- Parameters:
initialCapacity- the initial capacity for the new Block Edge Data Sequence
-
ensureBlockEdgeDataSequence
Adds a new Block Edge Data Sequence (seeBlockEdgeDataSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Block Edge Data Sequence is created.- Returns:
- Either the already existing Block Edge Data Sequence (see
BlockEdgeDataSequence) or a new one with capacityinitialCapacity.
-
ensureBlockEdgeDataSequence
Adds a new Block Edge Data Sequence (seeBlockEdgeDataSequence) with initial capacity 1 (seeensureBlockEdgeDataSequence(int)) if it does not already exist.- Returns:
- Either the already existing Block Edge Data Sequence (see
BlockEdgeDataSequence) or a new one with capacity 1.
-
containsBlockEdgeDataSequence
default boolean containsBlockEdgeDataSequence()- Returns:
- Whether it contains the Block Edge Data Sequence (see
BlockEdgeDataSequence)
-
removeBlockEdgeDataSequence
default void removeBlockEdgeDataSequence()Removes the Block Edge Data Sequence (seeBlockEdgeDataSequence
-