Interface LensConstantSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
IntraocularLensCalculationsLeftEyeSequence.Item,IntraocularLensCalculationsRightEyeSequence.Item
- Enclosing class:
- LensConstantSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Lens Constant Sequence" (see
LensConstantSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault LensConstantSequenceensureLensConstantSequence(int initialCapacity) Adds a new Lens Constant Sequence if it does not already exist.default LensConstantSequencedefault LensConstantSequencenewLensConstantSequence(int initialCapacity) Adds a new Lens Constant Sequence.default voidRemoves the Lens Constant Sequence (seeLensConstantSequencestatic LensConstantSequence.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 Lens Constant Sequence (seeLensConstantSequence)- Returns:
- A wrapper object implementing the
LensConstantSequence.Holderinterface.
-
getLensConstantSequence
- Returns:
- the Lens Constant Sequence (see
LensConstantSequence)
-
newLensConstantSequence
Adds a new Lens Constant Sequence. (seeLensConstantSequence)- Parameters:
initialCapacity- the initial capacity for the new Lens Constant Sequence
-
ensureLensConstantSequence
Adds a new Lens Constant Sequence if it does not already exist. (seeLensConstantSequence)- Parameters:
initialCapacity- the initial capacity if a new Lens Constant Sequence is created
-
containsLensConstantSequence
default boolean containsLensConstantSequence()- Returns:
- Whether it contains the Lens Constant Sequence (see
LensConstantSequence)
-
removeLensConstantSequence
default void removeLensConstantSequence()Removes the Lens Constant Sequence (seeLensConstantSequence
-