/*
 * @author Ranides Atterwim <ranides@gmail.com>
 * @copyright Ranides Atterwim
 * @license WTFPL
 * @url http://ranides.net/projects/assira
 */
package net.ranides.assira.collection;

/**
 * An object that can swap elements whose position is specified by integers
 */
public interface Swapper {

    /**
     * Swaps the data at the given positions.
     *
     * @param a the first position to swap.
     * @param b the second position to swap.
     */
    void swap(int a, int b);

}
