Adding and sorting question


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by Nathan on March 25, 2001 at 19:38:26:

The spec says that the array template will "have responsibility for managing insertions and deletions to preserve the correct ordering of the data elements it stores." Does this mean that the array template should be passed a class and then search the whole array to find where it goes OR should the database class do the search and pass it the class and node number for the template to insert? Basically, is the wording "manage insertions and deletions AND preserve the correct ordering" or is it correct in "manage insertions and deletions to preserve.." If it is to preserve it seems that in the database class I should figure out where it goes and then have the template insert it there and then the template will also reorder the elements..


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]