Interface IonBlockSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
IonBeamSequence.Item
Enclosing class:
IonBlockSequence

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

    • wrap

      static IonBlockSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Ion Block Sequence (see IonBlockSequence)
      Returns:
      A wrapper object implementing the IonBlockSequence.Holder interface.
    • getIonBlockSequence

      default IonBlockSequence getIonBlockSequence()
      Returns:
      the Ion Block Sequence (see IonBlockSequence)
    • 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
    • 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.
    • ensureIonBlockSequence

      default IonBlockSequence ensureIonBlockSequence()
      Adds a new Ion Block Sequence (see IonBlockSequence) with initial capacity 1 (see ensureIonBlockSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Ion Block Sequence (see IonBlockSequence) or a new one with capacity 1.
    • 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