Menu

#2 Add methods to avoid need to clone array

open
nobody
None
5
2005-11-30
2005-11-30
No

Add methods to avoid need to clone array (properties,
methods and qualifiers)

Current methods
CIMQualifier[] getQualifiers() //requires array
clone for safety
CIMQualifier getQualifier(String name)
Add
int getQualifierCount()
CIMQualifier getQualifier(int index)

Another thought that comes to mind is to have an
iterator, but that's just as heavy, or heavier than
cloning the array.

Discussion


Log in to post a comment.