SuperCollider CLASSES

OrderedIdentitySet

a set according to identity
Inherits from: IdentitySet : Set : Collection : Object

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.

OrderedIdentitySet[1, 2, 3, 300].do { |item, i| item.postln };

Inherited instance methods

Undocumented instance methods

-clear

-copy

-items = value

-remove (item)

-sort (func)