Interface DarkCurrentSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
DarkCurrentSequence

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

    • wrap

      static DarkCurrentSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Dark Current Sequence (see DarkCurrentSequence)
      Returns:
      A wrapper object implementing the DarkCurrentSequence.Holder interface.
    • getDarkCurrentSequence

      default DarkCurrentSequence getDarkCurrentSequence()
      Returns:
      the Dark Current Sequence (see DarkCurrentSequence)
    • newDarkCurrentSequence

      default DarkCurrentSequence newDarkCurrentSequence(int initialCapacity)
      Adds a new Dark Current Sequence. (see DarkCurrentSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Dark Current Sequence
    • ensureDarkCurrentSequence

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

      default DarkCurrentSequence ensureDarkCurrentSequence()
      Adds a new Dark Current Sequence (see DarkCurrentSequence) with initial capacity 1 (see ensureDarkCurrentSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Dark Current Sequence (see DarkCurrentSequence) or a new one with capacity 1.
    • containsDarkCurrentSequence

      default boolean containsDarkCurrentSequence()
      Returns:
      Whether it contains the Dark Current Sequence (see DarkCurrentSequence)
    • removeDarkCurrentSequence

      default void removeDarkCurrentSequence()
      Removes the Dark Current Sequence (see DarkCurrentSequence