public void testConstructor6(){
  Integer[] ints=new Integer[SIZE];
  for (int i=0; i < SIZE; ++i)   ints[i]=new Integer(i);
  LinkedBlockingQueue q=new LinkedBlockingQueue(Arrays.asList(ints));
  for (int i=0; i < SIZE; ++i)   assertEquals(ints[i],q.poll());
}

public void testConstructor6 ( ) { Integer [ ] ints = new Integer [ SIZE ] ; for ( int i = 0 ; i < SIZE ; ++ i ) ints [ i ] = new Integer ( i ) ; LinkedBlockingQueue q = new LinkedBlockingQueue ( Arrays . asList ( ints ) ) ; for ( int i = 0 ; i < SIZE ; ++ i ) assertEquals ( ints [ i ] , q . poll ( ) ) ; }
queue contains all elements of collection used to initialize
