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