/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package adaptablepriorityqueue;

/**
 *
 * @author kvaradar
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        int numbr;
        AdaptablePriorityQueue<Integer,Integer> pq = new AdaptablePriorityQueue<Integer,Integer>();

        for (int i = 0; i< 20; i ++) {
            numbr = (int) (100 * Math.random());
            pq.insert(numbr, numbr);
        }

        System.out.println(pq);
    }

}
