Interface IonBlockSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonBeamSequence.Item
- Enclosing class:
- IonBlockSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ion Block Sequence" (see
IonBlockSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault IonBlockSequenceensureIonBlockSequence(int initialCapacity) Adds a new Ion Block Sequence if it does not already exist.default IonBlockSequencedefault IonBlockSequencenewIonBlockSequence(int initialCapacity) Adds a new Ion Block Sequence.default voidRemoves the Ion Block Sequence (seeIonBlockSequencestatic IonBlockSequence.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 Ion Block Sequence (seeIonBlockSequence)- Returns:
- A wrapper object implementing the
IonBlockSequence.Holderinterface.
-
getIonBlockSequence
- Returns:
- the Ion Block Sequence (see
IonBlockSequence)
-
newIonBlockSequence
Adds a new Ion Block Sequence. (seeIonBlockSequence)- Parameters:
initialCapacity- the initial capacity for the new Ion Block Sequence
-
ensureIonBlockSequence
Adds a new Ion Block Sequence if it does not already exist. (seeIonBlockSequence)- Parameters:
initialCapacity- the initial capacity if a new Ion Block Sequence is created
-
containsIonBlockSequence
default boolean containsIonBlockSequence()- Returns:
- Whether it contains the Ion Block Sequence (see
IonBlockSequence)
-
removeIonBlockSequence
default void removeIonBlockSequence()Removes the Ion Block Sequence (seeIonBlockSequence
-