it.unimi.dsi.fastutil
Interface BigSwapper


public interface BigSwapper

An object that can swap elements whose positions is specified by longs.

See Also:
BigArrays.quickSort(long, long, it.unimi.dsi.fastutil.longs.LongComparator, BigSwapper)

Method Summary
 void swap(long a, long b)
          Swaps the data at the given positions.
 

Method Detail

swap

void swap(long a,
          long b)
Swaps the data at the given positions.

Parameters:
a - the first position to swap.
b - the second position to swap.