swarm.collections
Interface PermutationC


public abstract interface PermutationC
extends CollectionS, CollectionC, CreateS, CreateC, ArrayS, ArrayC

A class that represents a permutation of elements of a collection. 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.


Method Summary
 Object setCollection(Object collection)
           
 Object setUniformRandom(Object rnd)
           
 
Methods inherited from interface swarm.collections.ArrayS
setCount
 

Method Detail

setCollection

public Object setCollection(Object collection)

setUniformRandom

public Object setUniformRandom(Object rnd)