Interface IonWedgeSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IonBeamSequence.Item
- Enclosing class:
- IonWedgeSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Ion Wedge Sequence" (see
IonWedgeSequence)-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder(org.dcm4che3.data.Attributes attributes) default booleandefault IonWedgeSequenceAdds a new Ion Wedge Sequence (seeIonWedgeSequence) with initial capacity 1 (seeensureIonWedgeSequence(int)) if it does not already exist.default IonWedgeSequenceensureIonWedgeSequence(int initialCapacity) Adds a new Ion Wedge Sequence (seeIonWedgeSequence) if it does not already exist.default IonWedgeSequencedefault IonWedgeSequencenewIonWedgeSequence(int initialCapacity) Adds a new Ion Wedge Sequence.default voidRemoves the Ion Wedge Sequence (seeIonWedgeSequencestatic IonWedgeSequence.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 Ion Wedge Sequence (seeIonWedgeSequence)- Returns:
- A wrapper object implementing the
IonWedgeSequence.Holderinterface.
-
builder
- Returns:
- a
IonWedgeSequence.Holder.Builderto create Ion Wedge Sequence Items with a fluent API.
-
builder
- Parameters:
attributes- The Attributes to be wrapped by theIonWedgeSequence.Holder.Builder.- Returns:
- a
IonWedgeSequence.Holder.Builderto create Ion Wedge Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getIonWedgeSequence
- Returns:
- the Ion Wedge Sequence (see
IonWedgeSequence)
-
newIonWedgeSequence
Adds a new Ion Wedge Sequence. (seeIonWedgeSequence)- Parameters:
initialCapacity- the initial capacity for the new Ion Wedge Sequence
-
ensureIonWedgeSequence
Adds a new Ion Wedge Sequence (seeIonWedgeSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Ion Wedge Sequence is created.- Returns:
- Either the already existing Ion Wedge Sequence (see
IonWedgeSequence) or a new one with capacityinitialCapacity.
-
ensureIonWedgeSequence
Adds a new Ion Wedge Sequence (seeIonWedgeSequence) with initial capacity 1 (seeensureIonWedgeSequence(int)) if it does not already exist.- Returns:
- Either the already existing Ion Wedge Sequence (see
IonWedgeSequence) or a new one with capacity 1.
-
containsIonWedgeSequence
default boolean containsIonWedgeSequence()- Returns:
- Whether it contains the Ion Wedge Sequence (see
IonWedgeSequence)
-
removeIonWedgeSequence
default void removeIonWedgeSequence()Removes the Ion Wedge Sequence (seeIonWedgeSequence
-