Menu

#28 Add clearXXX methods to remove all items from a list

2.3
pending
None
5
2016-07-19
2016-07-13
No

From Chris Myers
It would be nice to have methods to remove all objects from a list. For example, removing all the Changes from a Model proved to be quite tricky, since you can only get them by iterating through the list, but if you remove them while iterating, you get current modification exception. It would be nice to have “clear” methods remove everything from the list.

Discussion

  • Richard Adams

    Richard Adams - 2016-07-18
    • assigned_to: Richard Adams
    • Group: 2.2.2 --> 2.3
     
  • Richard Adams

    Richard Adams - 2016-07-19

    added clearXXX methods to Model and top-level SEDML class

     
  • Richard Adams

    Richard Adams - 2016-07-19
    • status: open --> pending
     
MongoDB Logo MongoDB