Searched refs:pq (Results 1 – 4 of 4) sorted by relevance
31 private PriorityQueue<Integer> pq; field in PriorityQueueBenchmark38 pq = new PriorityQueue<Integer>(); in setUp()52 pq.add(allElements.get(i)); in setUp()57 pq.add(allElements.get(i)); in setUp()63 usepq = new PriorityQueue<Integer>(pq); in setUp()79 usepq = new PriorityQueue<Integer>(pq); in timeRemove()
196 PriorityQueue<? extends E> pq = (PriorityQueue<? extends E>) c; in PriorityQueue() local197 this.comparator = (Comparator<? super E>) pq.comparator(); in PriorityQueue()198 initFromPriorityQueue(pq); in PriorityQueue()824 private final PriorityQueue<E> pq; field in PriorityQueue.PriorityQueueSpliterator830 PriorityQueueSpliterator(PriorityQueue<E> pq, int origin, int fence, in PriorityQueueSpliterator() argument832 this.pq = pq; in PriorityQueueSpliterator()841 expectedModCount = pq.modCount; in getFence()842 hi = fence = pq.size; in getFence()850 new PriorityQueueSpliterator<>(pq, lo, index = mid, in trySplit()860 if ((q = pq) != null && (a = q.queue) != null) { in forEachRemaining()[all …]
277 for (PolicyQualifierInfo pq : policyQualifiers) { in encode()278 tmp2.write(pq.getEncoded()); in encode()
256 PriorityBlockingQueue<? extends E> pq = in PriorityBlockingQueue() local258 this.comparator = (Comparator<? super E>) pq.comparator(); in PriorityBlockingQueue()260 if (pq.getClass() == PriorityBlockingQueue.class) // exact match in PriorityBlockingQueue()