Interface MatingFeatureDegreeOfFreedomSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
MatingFeatureDegreeOfFreedomSequence.SimpleHolder,MatingFeatureSequence.Item
- Enclosing class:
- MatingFeatureDegreeOfFreedomSequence
public static interface MatingFeatureDegreeOfFreedomSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Mating Feature Degree of Freedom Sequence" (seeMatingFeatureDegreeOfFreedomSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMatingFeatureDegreeOfFreedomSequence.Holder.Builder
-
Method Summary
-
-
-
Method Detail
-
wrap
static MatingFeatureDegreeOfFreedomSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence)- Returns:
- a wrapper object implementing the
MatingFeatureDegreeOfFreedomSequence.Holderinterface.
-
builder
static MatingFeatureDegreeOfFreedomSequence.Holder.Builder builder()
- Returns:
- a
MatingFeatureDegreeOfFreedomSequence.Holder.Builderto create Mating Feature Degree of Freedom Sequence Items with a fluent API.
-
builder
static MatingFeatureDegreeOfFreedomSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theMatingFeatureDegreeOfFreedomSequence.Holder.Builder.- Returns:
- a
MatingFeatureDegreeOfFreedomSequence.Holder.Builderto create Mating Feature Degree of Freedom Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence getMatingFeatureDegreeOfFreedomSequence()
- Returns:
- the Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence)
-
newMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence newMatingFeatureDegreeOfFreedomSequence(int initialCapacity)
Adds a new Mating Feature Degree of Freedom Sequence. (seeMatingFeatureDegreeOfFreedomSequence)- Parameters:
initialCapacity- the initial capacity for the new Mating Feature Degree of Freedom Sequence- Returns:
- the newly created MatingFeatureDegreeOfFreedomSequence.
-
ensureMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence ensureMatingFeatureDegreeOfFreedomSequence(int initialCapacity)
Adds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Mating Feature Degree of Freedom Sequence is created.- Returns:
- either the already existing Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence) or a new one with capacityinitialCapacity.
-
ensureMatingFeatureDegreeOfFreedomSequence
default MatingFeatureDegreeOfFreedomSequence ensureMatingFeatureDegreeOfFreedomSequence()
Adds a new Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence) with initial capacity 1 (seeensureMatingFeatureDegreeOfFreedomSequence(int)) if it does not already exist.- Returns:
- either the already existing Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence) or a new one with capacity 1.
-
containsMatingFeatureDegreeOfFreedomSequence
default boolean containsMatingFeatureDegreeOfFreedomSequence()
- Returns:
- whether it contains the Mating Feature Degree of Freedom Sequence (see
MatingFeatureDegreeOfFreedomSequence)
-
removeMatingFeatureDegreeOfFreedomSequence
default void removeMatingFeatureDegreeOfFreedomSequence()
Removes the Mating Feature Degree of Freedom Sequence (seeMatingFeatureDegreeOfFreedomSequence
-
-