public static void main(String[] args)
    {
        Comparator<fringeObject> comparator = new fringeObjectComparator();
        PriorityQueue<fringeObject> queue = 
            new PriorityQueue<fringeObject>(10, comparator);
        queue.add(new fringeObject(null, null, 121, 22222222));
        queue.add(new fringeObject(null, null, 121, 321));
        queue.add(new fringeObject(null, null, 121, 864));
        queue.add(new fringeObject(null, null, 121, 1646));
        queue.offer(new fringeObject(null, null, 121, 23));
        while (queue.size() != 0)
        {
            System.out.println(queue.remove().toString());
        }
    }