Interface RunLengthTriplet.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
RunLengthTriplet.SimpleHolder
- Enclosing class:
- RunLengthTriplet
A class implementing this interface can hold attributes which contain the DICOM tag "Run Length Triplet" (see
RunLengthTriplet)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault RunLengthTripletdefault voidRemoves the Run Length Triplet (seeRunLengthTripletstatic RunLengthTriplet.Holderwrap(org.dcm4che3.data.Attributes attributes) Methods inherited from interface org.dcm4che.typeddicom.AttributesWrapper
copy, getAttributes, isEmpty
-
Method Details
-
wrap
- Parameters:
attributes- An attributes object containing the Run Length Triplet (seeRunLengthTriplet)- Returns:
- A wrapper object implementing the
RunLengthTriplet.Holderinterface.
-
builder
- Returns:
- a
RunLengthTriplet.Holder.Builderto create Run Length Triplet Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theRunLengthTriplet.Holder.Builder.- Returns:
- a
RunLengthTriplet.Holder.Builderto create Run Length Triplet Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRunLengthTriplet
- Returns:
- the Run Length Triplet (see
RunLengthTriplet)
-
containsRunLengthTriplet
default boolean containsRunLengthTriplet()- Returns:
- Whether it contains the Run Length Triplet (see
RunLengthTriplet)
-
removeRunLengthTriplet
default void removeRunLengthTriplet()Removes the Run Length Triplet (seeRunLengthTriplet
-