Interface IonBlockSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    IonBeamSequence.Item, IonBlockSequence.SimpleHolder
    Enclosing class:
    IonBlockSequence

    public static interface IonBlockSequence.Holder
    extends org.dcm4che.typeddicom.AttributesWrapper
    A class implementing this interface can hold attributes which contain the DICOM tag "Ion Block Sequence" (see IonBlockSequence)
    • Method Detail

      • newIonBlockSequence

        default IonBlockSequence newIonBlockSequence​(int initialCapacity)
        Adds a new Ion Block Sequence. (see IonBlockSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Ion Block Sequence
        Returns:
        the newly created IonBlockSequence.
      • ensureIonBlockSequence

        default IonBlockSequence ensureIonBlockSequence​(int initialCapacity)
        Adds a new Ion Block Sequence (see IonBlockSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new Ion Block Sequence is created.
        Returns:
        either the already existing Ion Block Sequence (see IonBlockSequence) or a new one with capacity initialCapacity.
      • containsIonBlockSequence

        default boolean containsIonBlockSequence()
        Returns:
        whether it contains the Ion Block Sequence (see IonBlockSequence)
      • removeIonBlockSequence

        default void removeIonBlockSequence()
        Removes the Ion Block Sequence (see IonBlockSequence