Interface ThresholdSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
AdvancedBlendingSequence.Item
Enclosing class:
ThresholdSequence

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

    • wrap

      static ThresholdSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Threshold Sequence (see ThresholdSequence)
      Returns:
      A wrapper object implementing the ThresholdSequence.Holder interface.
    • getThresholdSequence

      default ThresholdSequence getThresholdSequence()
      Returns:
      the Threshold Sequence (see ThresholdSequence)
    • newThresholdSequence

      default ThresholdSequence newThresholdSequence(int initialCapacity)
      Adds a new Threshold Sequence. (see ThresholdSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Threshold Sequence
    • ensureThresholdSequence

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

      default ThresholdSequence ensureThresholdSequence()
      Adds a new Threshold Sequence (see ThresholdSequence) with initial capacity 1 (see ensureThresholdSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Threshold Sequence (see ThresholdSequence) or a new one with capacity 1.
    • containsThresholdSequence

      default boolean containsThresholdSequence()
      Returns:
      Whether it contains the Threshold Sequence (see ThresholdSequence)
    • removeThresholdSequence

      default void removeThresholdSequence()
      Removes the Threshold Sequence (see ThresholdSequence