Interface RightLensSequence.Holder
-
- All Superinterfaces:
org.dcm4che.typeddicom.AttributesWrapper
- All Known Subinterfaces:
LensometryMeasurementsModule
- All Known Implementing Classes:
LensometryMeasurementsIOD,RightLensSequence.SimpleHolder
- Enclosing class:
- RightLensSequence
public static interface RightLensSequence.Holder extends org.dcm4che.typeddicom.AttributesWrapperA class implementing this interface can hold attributes which contain the DICOM tag "Right Lens Sequence" (seeRightLensSequence)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRightLensSequence.Holder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static RightLensSequence.Holder.Builderbuilder()static RightLensSequence.Holder.Builderbuilder(org.dcm4che3.data.Attributes attributes)default booleancontainsRightLensSequence()default RightLensSequenceensureRightLensSequence()Adds a new Right Lens Sequence (seeRightLensSequence) with initial capacity 1 (seeensureRightLensSequence(int)) if it does not already exist.default RightLensSequenceensureRightLensSequence(int initialCapacity)Adds a new Right Lens Sequence (seeRightLensSequence) if it does not already exist.default RightLensSequencegetRightLensSequence()default RightLensSequencenewRightLensSequence(int initialCapacity)Adds a new Right Lens Sequence.default voidremoveRightLensSequence()Removes the Right Lens Sequence (seeRightLensSequencestatic RightLensSequence.Holderwrap(org.dcm4che3.data.Attributes attributes)
-
-
-
Method Detail
-
wrap
static RightLensSequence.Holder wrap(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- an attributes object containing the Right Lens Sequence (seeRightLensSequence)- Returns:
- a wrapper object implementing the
RightLensSequence.Holderinterface.
-
builder
static RightLensSequence.Holder.Builder builder()
- Returns:
- a
RightLensSequence.Holder.Builderto create Right Lens Sequence Items with a fluent API.
-
builder
static RightLensSequence.Holder.Builder builder(org.dcm4che3.data.Attributes attributes)
- Parameters:
attributes- the Attributes to be wrapped by theRightLensSequence.Holder.Builder.- Returns:
- a
RightLensSequence.Holder.Builderto create Right Lens Sequence Items with a fluent API. Instead of creating new Attributes it wraps the provided Attributes.
-
getRightLensSequence
default RightLensSequence getRightLensSequence()
- Returns:
- the Right Lens Sequence (see
RightLensSequence)
-
newRightLensSequence
default RightLensSequence newRightLensSequence(int initialCapacity)
Adds a new Right Lens Sequence. (seeRightLensSequence)- Parameters:
initialCapacity- the initial capacity for the new Right Lens Sequence- Returns:
- the newly created RightLensSequence.
-
ensureRightLensSequence
default RightLensSequence ensureRightLensSequence(int initialCapacity)
Adds a new Right Lens Sequence (seeRightLensSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- the initial capacity (seeArrayList(int)) if a new Right Lens Sequence is created.- Returns:
- either the already existing Right Lens Sequence (see
RightLensSequence) or a new one with capacityinitialCapacity.
-
ensureRightLensSequence
default RightLensSequence ensureRightLensSequence()
Adds a new Right Lens Sequence (seeRightLensSequence) with initial capacity 1 (seeensureRightLensSequence(int)) if it does not already exist.- Returns:
- either the already existing Right Lens Sequence (see
RightLensSequence) or a new one with capacity 1.
-
containsRightLensSequence
default boolean containsRightLensSequence()
- Returns:
- whether it contains the Right Lens Sequence (see
RightLensSequence)
-
removeRightLensSequence
default void removeRightLensSequence()
Removes the Right Lens Sequence (seeRightLensSequence
-
-