/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | PriorityQueueTest.java | 28 import java.util.PriorityQueue; 45 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_iterator() 66 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_iterator_empty() 88 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_iterator_outofbound() 114 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_iterator_remove() 142 …PriorityQueue<String> integerQueue = new PriorityQueue<String>(10, new MockComparatorStringByLengt… in test_iterator_removeEquals() 157 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_iterator_remove_illegalState() 185 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(); in test_size() 198 PriorityQueue<Object> queue = new PriorityQueue<Object>(); in test_Constructor() 208 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PriorityQueueTest.java | 16 import java.util.PriorityQueue; 43 private PriorityQueue<Integer> populatedQueue(int n) { in populatedQueue() 44 PriorityQueue<Integer> q = new PriorityQueue<Integer>(n); in populatedQueue() 59 assertEquals(0, new PriorityQueue(SIZE).size()); in testConstructor1() 67 new PriorityQueue(0); in testConstructor2() 77 new PriorityQueue((Collection)null); in testConstructor3() 87 new PriorityQueue(Arrays.asList(new Integer[SIZE])); in testConstructor4() 100 new PriorityQueue(Arrays.asList(ints)); in testConstructor5() 112 PriorityQueue q = new PriorityQueue(Arrays.asList(ints)); in testConstructor6() 122 PriorityQueue q = new PriorityQueue(SIZE, cmp); in testConstructor7() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldPriorityQueueTest.java | 22 import java.util.PriorityQueue; 28 PriorityQueue<Object> queue = new PriorityQueue<Object>(100); in test_ConstructorI() 34 new PriorityQueue(0); in test_ConstructorI() 42 PriorityQueue<String> queue = new PriorityQueue<String>(10, in test_remove_Ljava_lang_Object_using_comparator() 59 PriorityQueue<Integer> integerQueue = new PriorityQueue<Integer>(list); in test_remove_Ljava_lang_Object_not_exists() 75 PriorityQueue<Integer> srcIntegerQueue = new PriorityQueue<Integer>( in test_Serialization() 77 new SerializationTester<PriorityQueue<Integer>>(srcIntegerQueue, s) { in test_Serialization() 78 @Override protected boolean equals(PriorityQueue<Integer> a, PriorityQueue<Integer> b) { in test_Serialization() 112 PriorityQueue<Integer> q = new PriorityQueue<Integer>(); in test_removeAt_siftUp()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | PriorityQueue.java | 31 public class PriorityQueue<E> extends java.util.AbstractQueue<E> implements java.io.Serializable { class 33 public PriorityQueue() { in PriorityQueue() method in PriorityQueue 37 public PriorityQueue(int initialCapacity) { in PriorityQueue() method in PriorityQueue 41 public PriorityQueue(java.util.Comparator<? super E> comparator) { in PriorityQueue() method in PriorityQueue 45 public PriorityQueue(int initialCapacity, java.util.Comparator<? super E> comparator) { in PriorityQueue() method in PriorityQueue 49 public PriorityQueue(java.util.Collection<? extends E> c) { in PriorityQueue() method in PriorityQueue 53 public PriorityQueue(java.util.PriorityQueue<? extends E> c) { in PriorityQueue() method in PriorityQueue 57 public PriorityQueue(java.util.SortedSet<? extends E> c) { in PriorityQueue() method in PriorityQueue 61 private void initFromPriorityQueue(java.util.PriorityQueue<? extends E> c) { in initFromPriorityQueue() 237 java.util.PriorityQueue<E> pq, int origin, int fence, int expectedModCount) { in PriorityQueueSpliterator() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | PriorityQueueBenchmark.java | 24 import java.util.PriorityQueue; 31 private PriorityQueue<Integer> pq; 32 private PriorityQueue<Integer> usepq; 38 pq = new PriorityQueue<Integer>(); in setUp() 39 usepq = new PriorityQueue<Integer>(); in setUp() 63 usepq = new PriorityQueue<Integer>(pq); in setUp() 79 usepq = new PriorityQueue<Integer>(pq); in timeRemove()
|
/libcore/ojluni/src/main/java/java/util/ |
D | PriorityQueue.java | 82 public class PriorityQueue<E> extends AbstractQueue<E> class 121 public PriorityQueue() { in PriorityQueue() method in PriorityQueue 134 public PriorityQueue(int initialCapacity) { in PriorityQueue() method in PriorityQueue 147 public PriorityQueue(Comparator<? super E> comparator) { in PriorityQueue() method in PriorityQueue 162 public PriorityQueue(int initialCapacity, in PriorityQueue() method in PriorityQueue 189 public PriorityQueue(Collection<? extends E> c) { in PriorityQueue() method in PriorityQueue 195 else if (c instanceof PriorityQueue<?>) { in PriorityQueue() 196 PriorityQueue<? extends E> pq = (PriorityQueue<? extends E>) c; in PriorityQueue() 221 public PriorityQueue(PriorityQueue<? extends E> c) { in PriorityQueue() method in PriorityQueue 240 public PriorityQueue(SortedSet<? extends E> c) { in PriorityQueue() method in PriorityQueue [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 44 import java.util.PriorityQueue; 80 private final PriorityQueue<E> q = new PriorityQueue<E>();
|
D | PriorityBlockingQueue.java | 44 import java.util.PriorityQueue; 183 private PriorityQueue<E> q; 905 q = new PriorityQueue<E>(Math.max(size, 1), comparator); in writeObject()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | PriorityBlockingQueue.java | 231 private java.util.PriorityQueue<E> q;
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 72 collections.add(new PriorityQueue<>(content)); in createCollections()
|
/libcore/ |
D | openjdk_java_files.bp | 1150 "ojluni/src/main/java/java/util/PriorityQueue.java",
|