Interface IonWedgeSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Implementing Classes:
IonBeamSequence.Item
- Enclosing class:
- IonWedgeSequence
public static interface IonWedgeSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Ion Wedge Sequence" (seeIonWedgeSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classIonWedgeSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static IonWedgeSequence.Holder.Builderbuilder()static IonWedgeSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsIonWedgeSequence()default IonWedgeSequenceensureIonWedgeSequence()Adds 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 IonWedgeSequencegetIonWedgeSequence()default IonWedgeSequencenewIonWedgeSequence(int initialCapacity)Adds a new Ion Wedge Sequence.default voidremoveIonWedgeSequence()Removes the Ion Wedge Sequence (seeIonWedgeSequencestatic IonWedgeSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static IonWedgeSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Ion Wedge Sequence (seeIonWedgeSequence)- Returns:
- a wrapper object implementing the
IonWedgeSequence.Holderinterface.
-
builder
static IonWedgeSequence.Holder.Builder builder()
- Returns:
- a
IonWedgeSequence.Holder.Builderto create Ion Wedge Sequence Items with a fluent API.
-
builder
static IonWedgeSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- 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
default IonWedgeSequence getIonWedgeSequence()
- Returns:
- the Ion Wedge Sequence (see
IonWedgeSequence)
-
newIonWedgeSequence
default IonWedgeSequence newIonWedgeSequence(int initialCapacity)
Adds a new Ion Wedge Sequence. (seeIonWedgeSequence)- Parameters:
initialCapacity- the initial capacity for the new Ion Wedge Sequence- Returns:
- the newly created IonWedgeSequence.
-
ensureIonWedgeSequence
default IonWedgeSequence ensureIonWedgeSequence(int initialCapacity)
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
default IonWedgeSequence 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
-
-