com.steema.teechart
Interface Swapper

All Known Implementing Classes:
Map.SwapPolygon

public interface Swapper

A swapper function. Swappers can be passed to a sort method (such as misc.Utils.sort) to allow precise control over the swap of elements.


Method Summary
 void swap(int a, int b)
          Swaps two elements
 

Method Detail

swap

void swap(int a,
          int b)
Swaps two elements

Parameters:
a - the index of first element to be swapped.
b - the index of second element to be swapped.