Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 1.82 KB

README.md

File metadata and controls

26 lines (23 loc) · 1.82 KB

DP_ObCollectionOrdered

A DP_ObCollectionOrdered is used to manage multiple instances of a JavaScript object as a single logical unit where the order ("rank") of the instances matter. Object instances stored in the collection are called "Members" of the collection. The DP_ObCollectionOrdered assumes the following:

  • The DP_ObCollectionOrdered maintains the order (rank) of it members.
  • Member rank begins at zero (just like JavaScript arrays).
  • Member rank is manageable through exposed methods.
  • Optionally all members of an DP_ObCollectionOrdered can be validated for type.
  • A property of the Member object(s) must contain a unique Key to be used as the identifier. If the collection allows multiple types to be added they must all share a common property for identification.

Use the simpler DP_ObCollection if your application does not require members to be maintained in order.

This component requires a JavaScript (ECMAScript) 1.3 (or better) run-time environment and has been tested successfully on Internet Explorer 6+, Firefox 1+ and Opera 9+.

Copyright (c) 1996-2013, The Depressed Press (depressedpress.com)
All rights reserved.
Covered under the BSD Open Source License (included in the code). Full legal information here: http://depressedpress.com/about/source-code-policy/