Interface IonWedgeSequence.Holder

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

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

    • wrap

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

      default IonWedgeSequence getIonWedgeSequence()
      Returns:
      the Ion Wedge Sequence (see IonWedgeSequence)
    • newIonWedgeSequence

      default IonWedgeSequence newIonWedgeSequence(int initialCapacity)
      Adds a new Ion Wedge Sequence. (see IonWedgeSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Ion Wedge Sequence
    • ensureIonWedgeSequence

      default IonWedgeSequence ensureIonWedgeSequence(int initialCapacity)
      Adds a new Ion Wedge Sequence (see IonWedgeSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new Ion Wedge Sequence is created.
      Returns:
      Either the already existing Ion Wedge Sequence (see IonWedgeSequence) or a new one with capacity initialCapacity.
    • ensureIonWedgeSequence

      default IonWedgeSequence ensureIonWedgeSequence()
      Adds a new Ion Wedge Sequence (see IonWedgeSequence) with initial capacity 1 (see ensureIonWedgeSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Ion Wedge Sequence (see IonWedgeSequence) or a new one with capacity 1.
    • containsIonWedgeSequence

      default boolean containsIonWedgeSequence()
      Returns:
      Whether it contains the Ion Wedge Sequence (see IonWedgeSequence)
    • removeIonWedgeSequence

      default void removeIonWedgeSequence()
      Removes the Ion Wedge Sequence (see IonWedgeSequence