log.error(ex);
System.err.println(ex);
    public void testLargeInsertion() {        String element="MyElement";        long start, stop;        try {            System.out.println("Inserting 100000 elements");            start=System.currentTimeMillis();            for(int i=0; i < 100000; i++)                queue.add(element);            stop=System.currentTimeMillis();            System.out.println("Took " + (stop - start) + " msecs");            System.out.println("Removing 100000 elements");            start=System.currentTimeMillis();            while(queue.size() > 0)                queue.remove();            stop=System.currentTimeMillis();            System.out.println("Took " + (stop - start) + " msecs");        }        catch(Exception ex) {            log.error(ex);            assertTrue(false);        }    }