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.
setCollection
public Object setCollection(Object collection)
setUniformRandom
public Object setUniformRandom(Object rnd)