swarm.simtools
Class QSortImpl

java.lang.Object
  |
  +--swarm.simtools.QSortImpl

public class QSortImpl
extends Object
implements SwarmObjectS, SwarmObject, QSortS, QSort

A class to sort a collection.. QSort is simply a "wrapper" for the C native "qsort" function, as applied to a Swarm collection. The values will appear in ascending order by default. Reversing the order of a collection can be made by calling reverseOrderOf. All these methods modify the underlying collection, so any indexes should always be regenerated.


Constructor Summary
QSortImpl()
           
QSortImpl(Zone aZone)
          Default constructor for Impl class
 
Methods implemented by this class for interface swarm.objectbase.SwarmObject
getCompleteProbeMap, getProbeForMessage, getProbeForVariable, getProbeMap
 
Methods implemented by this class for interface swarm.simtools.QSort
reverseOrderOf, sortNumbersIn, sortObjectsIn, sortObjectsIn$using
 
Methods implemented by this class for interface swarm.defobj.Drop
drop
 
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 inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSortImpl

public QSortImpl()

QSortImpl

public QSortImpl(Zone aZone)
Default constructor for Impl class