2 summary::an order of elements with a numerical index
3 related::Classes/SparseArray
4 categories:: Collections>Ordered
7 Keeps elements in an order and allows to put them at arbitrary slots
8 without having to allocate a large array.
11 link::#-put:: and link::#-at:: are slower than in link::Classes/IdentityDictionary:: / link::Classes/PriorityQueue::, link::#-do:: is faster.
20 g.put(7, 100); // put a value (100) at index 7
24 method::newFromIndices
25 Create a new order from given items and indices.
29 private::resetIndices, nextSlotFor, slotFor, prPutSlot
32 Iterate over a range of the order's items.
35 Return the current write position.