Interface ThreatSequence.Holder

  • All Superinterfaces:
    org.dcm4che.typeddicom.AttributesWrapper
    Enclosing class:
    ThreatSequence

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

      • newThreatSequence

        default ThreatSequence newThreatSequence​(int initialCapacity)
        Adds a new Threat Sequence. (see ThreatSequence)
        Parameters:
        initialCapacity - the initial capacity for the new Threat Sequence
        Returns:
        the newly created ThreatSequence.
      • ensureThreatSequence

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

        default boolean containsThreatSequence()
        Returns:
        whether it contains the Threat Sequence (see ThreatSequence)
      • removeThreatSequence

        default void removeThreatSequence()
        Removes the Threat Sequence (see ThreatSequence