Interface PETFrameTypeSequence.Holder

All Superinterfaces:
AttributesWrapper
Enclosing class:
PETFrameTypeSequence

public static interface PETFrameTypeSequence.Holder extends AttributesWrapper
A class implementing this interface can hold attributes which contain the DICOM tag "PET Frame Type Sequence" (see PETFrameTypeSequence)
  • Method Details

    • wrap

      static PETFrameTypeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
      Parameters:
      attributes - An attributes object containing the PET Frame Type Sequence (see PETFrameTypeSequence)
      Returns:
      A wrapper object implementing the PETFrameTypeSequence.Holder interface.
    • getPETFrameTypeSequence

      default PETFrameTypeSequence getPETFrameTypeSequence()
      Returns:
      the PET Frame Type Sequence (see PETFrameTypeSequence)
    • newPETFrameTypeSequence

      default PETFrameTypeSequence newPETFrameTypeSequence(int initialCapacity)
      Adds a new PET Frame Type Sequence. (see PETFrameTypeSequence)
      Parameters:
      initialCapacity - the initial capacity for the new PET Frame Type Sequence
    • ensurePETFrameTypeSequence

      default PETFrameTypeSequence ensurePETFrameTypeSequence(int initialCapacity)
      Adds a new PET Frame Type Sequence (see PETFrameTypeSequence) if it does not already exist. (see Attributes.ensureSequence(int, int)
      Parameters:
      initialCapacity - The initial capacity (see ArrayList(int)) if a new PET Frame Type Sequence is created.
      Returns:
      Either the already existing PET Frame Type Sequence (see PETFrameTypeSequence) or a new one with capacity initialCapacity.
    • ensurePETFrameTypeSequence

      default PETFrameTypeSequence ensurePETFrameTypeSequence()
      Adds a new PET Frame Type Sequence (see PETFrameTypeSequence) with initial capacity 1 (see ensurePETFrameTypeSequence(int)) if it does not already exist.
      Returns:
      Either the already existing PET Frame Type Sequence (see PETFrameTypeSequence) or a new one with capacity 1.
    • containsPETFrameTypeSequence

      default boolean containsPETFrameTypeSequence()
      Returns:
      Whether it contains the PET Frame Type Sequence (see PETFrameTypeSequence)
    • removePETFrameTypeSequence

      default void removePETFrameTypeSequence()
      Removes the PET Frame Type Sequence (see PETFrameTypeSequence