Interface CylinderSequence.Holder
- All Superinterfaces:
AttributesWrapper
- All Known Implementing Classes:
AutorefractionLeftEyeSequence.Item,AutorefractionRightEyeSequence.Item,LeftLensSequence.Item,RightLensSequence.Item,SubjectiveRefractionLeftEyeSequence.Item,SubjectiveRefractionRightEyeSequence.Item,UnspecifiedLateralityLensSequence.Item
- Enclosing class:
- CylinderSequence
A class implementing this interface can hold attributes which contain the DICOM tag "Cylinder Sequence" (see
CylinderSequence)-
Method Summary
Modifier and TypeMethodDescriptiondefault booleandefault CylinderSequenceAdds a new Cylinder Sequence (seeCylinderSequence) with initial capacity 1 (seeensureCylinderSequence(int)) if it does not already exist.default CylinderSequenceensureCylinderSequence(int initialCapacity) Adds a new Cylinder Sequence (seeCylinderSequence) if it does not already exist.default CylinderSequencedefault CylinderSequencenewCylinderSequence(int initialCapacity) Adds a new Cylinder Sequence.default voidRemoves the Cylinder Sequence (seeCylinderSequencestatic CylinderSequence.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 Cylinder Sequence (seeCylinderSequence)- Returns:
- A wrapper object implementing the
CylinderSequence.Holderinterface.
-
getCylinderSequence
- Returns:
- the Cylinder Sequence (see
CylinderSequence)
-
newCylinderSequence
Adds a new Cylinder Sequence. (seeCylinderSequence)- Parameters:
initialCapacity- the initial capacity for the new Cylinder Sequence
-
ensureCylinderSequence
Adds a new Cylinder Sequence (seeCylinderSequence) if it does not already exist. (seeAttributes.ensureSequence(int, int)- Parameters:
initialCapacity- The initial capacity (seeArrayList(int)) if a new Cylinder Sequence is created.- Returns:
- Either the already existing Cylinder Sequence (see
CylinderSequence) or a new one with capacityinitialCapacity.
-
ensureCylinderSequence
Adds a new Cylinder Sequence (seeCylinderSequence) with initial capacity 1 (seeensureCylinderSequence(int)) if it does not already exist.- Returns:
- Either the already existing Cylinder Sequence (see
CylinderSequence) or a new one with capacity 1.
-
containsCylinderSequence
default boolean containsCylinderSequence()- Returns:
- Whether it contains the Cylinder Sequence (see
CylinderSequence)
-
removeCylinderSequence
default void removeCylinderSequence()Removes the Cylinder Sequence (seeCylinderSequence
-