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.
createBegin
public Object createBegin(Zone aZone)
- Specified by:
- createBegin in interface CreateC
setCollection
public Object setCollection(Object collection)
setUniformRandom
public Object setUniformRandom(Object rnd)