- From: Blaine Brodie <bbrodie@savagesoftware.com>
- Date: Fri, 27 Oct 2000 13:28:50 -0700
- To: www-svg@w3.org
When inserting, replacing or appending an item into a list a user can use the same item multiple times. Here are a couple examples of the problem. Assume I have a pathElement named 'path1' and 'path2' and a path segment named 'pathSeg': 1) path1.getPathSegList().appendItem(pathSeg); path1.getPathSegList().appendItem(pathSeg); Two items in the list refer to the same object. 2) path1.getPathSegList().appendItem(pathSeg) path2.getPathSegList().appendItem(pathSeg) In this case, the same object is attached to two lists. --- Blaine
Received on Friday, 27 October 2000 16:29:09 UTC