Interface LeftImageSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
StereoPairsSequence.Item
Enclosing class:
LeftImageSequence

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

    • wrap

      static LeftImageSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Left Image Sequence (see LeftImageSequence)
      Returns:
      A wrapper object implementing the LeftImageSequence.Holder interface.
    • getLeftImageSequence

      default LeftImageSequence getLeftImageSequence()
      Returns:
      the Left Image Sequence (see LeftImageSequence)
    • newLeftImageSequence

      default LeftImageSequence newLeftImageSequence(int initialCapacity)
      Adds a new Left Image Sequence. (see LeftImageSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Left Image Sequence
    • ensureLeftImageSequence

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

      default LeftImageSequence ensureLeftImageSequence()
      Adds a new Left Image Sequence (see LeftImageSequence) with initial capacity 1 (see ensureLeftImageSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Left Image Sequence (see LeftImageSequence) or a new one with capacity 1.
    • containsLeftImageSequence

      default boolean containsLeftImageSequence()
      Returns:
      Whether it contains the Left Image Sequence (see LeftImageSequence)
    • removeLeftImageSequence

      default void removeLeftImageSequence()
      Removes the Left Image Sequence (see LeftImageSequence