Interface RightLensSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Subinterfaces:
LensometryMeasurementsModule
- All Known Implementing Classes:
LensometryMeasurementsIOD
- Enclosing class:
- RightLensSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Right Lens Sequence" (see
RightLensSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault RightLensSequenceAdds 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 RightLensSequencedefault RightLensSequencenewRightLensSequence(int initialCapacity) Adds a new Right Lens Sequence.default voidRemoves the Right Lens Sequence (seeRightLensSequencestatic RightLensSequence.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 Right Lens Sequence (seeRightLensSequence)- Returns:
- A wrapper object implementing the
RightLensSequence.Holderinterface.
-
getRightLensSequence
- Returns:
- the Right Lens Sequence (see
RightLensSequence)
-
newRightLensSequence
Adds a new Right Lens Sequence. (seeRightLensSequence)- Parameters:
initialCapacity- the initial capacity for the new Right Lens Sequence
-
ensureRightLensSequence
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
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
-