Interface HPGLPenSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    HPGLDocumentSequence.Item
    Enclosing class:
    HPGLPenSequence

    public static interface HPGLPenSequence.Holder
    extends org.dcm4che.typeddicom.AttributesWrapper
    A class implementing this interface can hold attributes which contain the DICOM tag "HPGL Pen Sequence" (see HPGLPenSequence)
    • Method Detail

      • newHPGLPenSequence

        default HPGLPenSequence newHPGLPenSequence​(int initialCapacity)
        Adds a new HPGL Pen Sequence. (see HPGLPenSequence)
        Parameters:
        initialCapacity - the initial capacity for the new HPGL Pen Sequence
        Returns:
        the newly created HPGLPenSequence.
      • ensureHPGLPenSequence

        default HPGLPenSequence ensureHPGLPenSequence​(int initialCapacity)
        Adds a new HPGL Pen Sequence (see HPGLPenSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
        Parameters:
        initialCapacity - the initial capacity (see ArrayList(int)) if a new HPGL Pen Sequence is created.
        Returns:
        either the already existing HPGL Pen Sequence (see HPGLPenSequence) or a new one with capacity initialCapacity.
      • containsHPGLPenSequence

        default boolean containsHPGLPenSequence()
        Returns:
        whether it contains the HPGL Pen Sequence (see HPGLPenSequence)
      • removeHPGLPenSequence

        default void removeHPGLPenSequence()
        Removes the HPGL Pen Sequence (see HPGLPenSequence