Lines Matching refs:queues
64 Collection<Queue<Boolean>> queues() {
65 List<Queue<Boolean>> queues = new ArrayList<Queue<Boolean>>();
66 queues.add(new ConcurrentLinkedDeque<Boolean>());
67 queues.add(new ConcurrentLinkedQueue<Boolean>());
68 queues.add(new ArrayBlockingQueue<Boolean>(count, false));
69 queues.add(new ArrayBlockingQueue<Boolean>(count, true));
70 queues.add(new LinkedBlockingQueue<Boolean>());
71 queues.add(new LinkedBlockingDeque<Boolean>());
72 queues.add(new PriorityBlockingQueue<Boolean>());
73 queues.add(new PriorityQueue<Boolean>());
74 queues.add(new LinkedList<Boolean>());
75 queues.add(new LinkedTransferQueue<Boolean>());
79 // queues.add(new SynchronizedLinkedListQueue<Boolean>());
82 Collections.shuffle(queues);
83 return queues;
107 for (Queue<Boolean> queue : queues())
110 for (Queue<Boolean> queue : queues())