Interface WedgeSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    All Known Implementing Classes:
    BeamSequence.Item, WedgeSequence.SimpleHolder
    Enclosing class:
    WedgeSequence

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

      • newWedgeSequence

        default WedgeSequence newWedgeSequence​(int initialCapacity)
        Adds a new Wedge Sequence. (see WedgeSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Wedge Sequence
        Returns:
        the newly created WedgeSequence.
      • ensureWedgeSequence

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

        default boolean containsWedgeSequence()
        Returns:
        whether it contains the Wedge Sequence (see WedgeSequence)
      • removeWedgeSequence

        default void removeWedgeSequence()
        Removes the Wedge Sequence (see WedgeSequence