swarm.collections
Class PermutationImpl

java.lang.Object
  |
  +--swarm.collections.PermutationImpl

public class PermutationImpl
extends Object
implements CollectionS, Collection, CreateS, Create, ArrayS, Array, PermutationS, Permutation

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.


Constructor Summary
PermutationImpl()
           
PermutationImpl(Zone aZone)
          Default constructor for Impl class
PermutationImpl(Zone aZone, int count)
           
 
Methods implemented by this class for interface swarm.collections.Collection
allSameClass, begin, beginPermuted, contains, copy, deleteAll, getCount, getReplaceOnly, remove, removeAll
 
Methods implemented by this class for interface swarm.collections.ArrayS
setCount
 
Methods implemented by this class for interface swarm.defobj.Copy
copy
 
Methods implemented by this class for interface swarm.defobj.Drop
drop
 
Methods implemented by this class for interface swarm.collections.Offsets
atOffset, atOffset$put, getFirst, getLast
 
Methods implemented by this class for interface swarm.collections.ForEach
describeForEach, describeForEachID, forEach, forEach, forEach, forEach
 
Methods implemented by this class for interface swarm.defobj.DefinedObject
compare, describe, describeID, getDisplayName, getTypeName, getZone, perform, perform$with, perform$with$with, perform$with$with$with, respondsTo, setDisplayName, xfprint, xfprintid, xprint, xprintid
 
Methods implemented by this class for interface swarm.collections.DefaultMemberS
setDefaultMember
 
Methods implemented by this class for interface swarm.collections.DefaultMember
getDefaultMember
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermutationImpl

public PermutationImpl()

PermutationImpl

public PermutationImpl(Zone aZone,
                       int count)

PermutationImpl

public PermutationImpl(Zone aZone)
Default constructor for Impl class