Interface CellValuesSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
TabulatedValuesSequence.Item
- Enclosing class:
- CellValuesSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Cell Values Sequence" (see
CellValuesSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CellValuesSequenceensureCellValuesSequence(int initialCapacity) Adds a new Cell Values Sequence if it does not already exist.default CellValuesSequencedefault CellValuesSequencenewCellValuesSequence(int initialCapacity) Adds a new Cell Values Sequence.default voidRemoves the Cell Values Sequence (seeCellValuesSequencestatic CellValuesSequence.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Cell Values Sequence (seeCellValuesSequence)- Returns:
- A wrapper object implementing the
CellValuesSequence.Holderinterface.
-
getCellValuesSequence
- Returns:
- the Cell Values Sequence (see
CellValuesSequence)
-
newCellValuesSequence
Adds a new Cell Values Sequence. (seeCellValuesSequence)- Parameters:
initialCapacity- the initial capacity for the new Cell Values Sequence
-
ensureCellValuesSequence
Adds a new Cell Values Sequence if it does not already exist. (seeCellValuesSequence)- Parameters:
initialCapacity- the initial capacity if a new Cell Values Sequence is created
-
containsCellValuesSequence
default boolean containsCellValuesSequence()- Returns:
- Whether it contains the Cell Values Sequence (see
CellValuesSequence)
-
removeCellValuesSequence
default void removeCellValuesSequence()Removes the Cell Values Sequence (seeCellValuesSequence
-