Parallel Colt 0.7.2

cern.colt
Interface Swapper


public interface Swapper

Interface for an object that knows how to swap elements at two positions (a,b).

Version:
1.0, 03-Jul-99
Author:
wolfgang.hoschek@cern.ch
See Also:
GenericSorting

Method Summary
 void swap(int a, int b)
          Swaps the generic data g[a] with g[b].
 

Method Detail

swap

void swap(int a,
          int b)
Swaps the generic data g[a] with g[b].


Parallel Colt 0.7.2

Jump to the Parallel Colt Homepage