Interface CellValuesSequence.Holder

All Superinterfaces:
AttributesWrapper
All Known Implementing Classes:
TabulatedValuesSequence.Item
Enclosing class:
CellValuesSequence

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

    • wrap

      static CellValuesSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the Cell Values Sequence (see CellValuesSequence)
      Returns:
      A wrapper object implementing the CellValuesSequence.Holder interface.
    • getCellValuesSequence

      default CellValuesSequence getCellValuesSequence()
      Returns:
      the Cell Values Sequence (see CellValuesSequence)
    • newCellValuesSequence

      default CellValuesSequence newCellValuesSequence(int initialCapacity)
      Adds a new Cell Values Sequence. (see CellValuesSequence)
      Parameters:
      initialCapacity - the initial capacity for the new Cell Values Sequence
    • ensureCellValuesSequence

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

      default CellValuesSequence ensureCellValuesSequence()
      Adds a new Cell Values Sequence (see CellValuesSequence) with initial capacity 1 (see ensureCellValuesSequence(int)) if it does not already exist.
      Returns:
      Either the already existing Cell Values Sequence (see CellValuesSequence) or a new one with capacity 1.
    • containsCellValuesSequence

      default boolean containsCellValuesSequence()
      Returns:
      Whether it contains the Cell Values Sequence (see CellValuesSequence)
    • removeCellValuesSequence

      default void removeCellValuesSequence()
      Removes the Cell Values Sequence (see CellValuesSequence