Interface LineSequence.Holder

    • Method Detail

      • wrap

        static LineSequence.Holder wrap​(org.dcm4che3.data.Attributes attributes)
        Parameters:
        attributes - an attributes object containing the Line Sequence (see LineSequence)
        Returns:
        a wrapper object implementing the LineSequence.Holder interface.
      • newLineSequence

        default LineSequence newLineSequence​(int initialCapacity)
        Adds a new Line Sequence. (see LineSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Line Sequence
        Returns:
        the newly created LineSequence.
      • ensureLineSequence

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

        default boolean containsLineSequence()
        Returns:
        whether it contains the Line Sequence (see LineSequence)
      • removeLineSequence

        default void removeLineSequence()
        Removes the Line Sequence (see LineSequence