swarm.collections
Interface PermutationC

All Known Implementing Classes:
PermutationCImpl

public 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 createBegin(Zone aZone)
           
 Object setCollection(Object collection)
           
 Object setUniformRandom(Object rnd)
           
 
Methods inherited from interface swarm.collections.ArrayS
setCount
 
Methods inherited from interface swarm.collections.ArrayC
create$setCount
 

Method Detail

createBegin

public Object createBegin(Zone aZone)
Specified by:
createBegin in interface CreateC

setCollection

public Object setCollection(Object collection)

setUniformRandom

public Object setUniformRandom(Object rnd)