swarm.simtools
Class QSortCImpl

java.lang.Object
  |
  +--swarm.BaseImpl
        |
        +--swarm.PhaseCImpl
              |
              +--swarm.simtools.QSortCImpl

public class QSortCImpl
extends PhaseCImpl
implements SwarmObjectC, SwarmObjectS, QSortS, QSortC

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.


Fields inherited from class swarm.PhaseCImpl
nextPhase
 
Constructor Summary
QSortCImpl()
           
QSortCImpl(QSort nextPhase)
           
 
Methods implemented by this class for interface swarm.defobj.CreateC
create, createBegin, createEnd
 
Methods implemented by this class for interface swarm.defobj.CustomizeC
customizeBegin, customizeCopy, customizeEnd
 
Methods inherited from class swarm.PhaseCImpl
_copy_creating_phase_to_using_phase
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSortCImpl

public QSortCImpl(QSort nextPhase)

QSortCImpl

public QSortCImpl()