OrderedIdentitySet:
Filter:
Classes | Collections > Ordered

OrderedIdentitySet : IdentitySet : Set : Collection : Object

a set according to identity
Source: Set.sc

Description

An OrderedIdentitySet is a collection of objects, no two of which are the same object (aka. "identical"). Most of its methods are inherited. (see Collection and Set classes). Unlike IdentitySet, contents of an OrderedIdentitySet are ordered.

Class Methods

Inherited class methods

Instance Methods

.do(function)

Evaluates function for each item in the OrderedIdentitySet. You may depend on the order of items. The function is passed two arguments, the item and an integer index.

Inherited instance methods

Undocumented instance methods

.clear

.copy

.items = value

.remove(item)

.sort(func)