Documentation Set for Swarm 2.2
Prev | Reference II. Collections Library | Next

# Permutation

## Name

Permutation -- A class that represents a permutation of elements of a collection

## Description

Permutation is used to generate a permutation of elements of a a collection and store them in an array for fast access. Permutation only mirrors the original collection. Updates of contents of Permutation will not reflect on the original collection.

## Protocols adopted by Permutation

Collection Create Array CREATABLE

## Methods

### Phase: Creating

- - setUniformRandom: rnd

- - setLastPermutation: (id <Permutation>)permutation

- - setCollection: (id <Collection>)collection

Prev | Home | Next
OutputStream | Up | PermutationItem