Home
last modified time | relevance | path

Searched refs:DelayQueue (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DDelayQueueTest.java47 import java.util.concurrent.DelayQueue;
58 return new DelayQueue(); in emptyCollection()
71 public Class<?> klazz() { return DelayQueue.class; } in suite()
72 public Collection emptyCollection() { return new DelayQueue(); } in suite()
146 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue()
147 DelayQueue<PDelay> q = new DelayQueue<>(); in populatedQueue()
164 assertEquals(Integer.MAX_VALUE, new DelayQueue().remainingCapacity()); in testConstructor1()
172 new DelayQueue(null); in testConstructor3()
182 new DelayQueue(Arrays.asList(new PDelay[SIZE])); in testConstructor4()
195 new DelayQueue(Arrays.asList(a)); in testConstructor5()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DDelayQueueTest.java21 import java.util.concurrent.DelayQueue;
54 return new DelayQueue(); in emptyCollection()
139 private DelayQueue<PDelay> populatedQueue(int n) { in populatedQueue()
140 DelayQueue<PDelay> q = new DelayQueue<PDelay>(); in populatedQueue()
156 assertEquals(Integer.MAX_VALUE, new DelayQueue().remainingCapacity()); in testConstructor1()
164 new DelayQueue(null); in testConstructor3()
174 new DelayQueue(Arrays.asList(new PDelay[SIZE])); in testConstructor4()
187 new DelayQueue(Arrays.asList(a)); in testConstructor5()
199 DelayQueue q = new DelayQueue(Arrays.asList(ints)); in testConstructor6()
208 DelayQueue q = new DelayQueue(); in testEmpty()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DDelayQueue.java77 public class DelayQueue<E extends Delayed> extends AbstractQueue<E> class
111 public DelayQueue() {} in DelayQueue() method in DelayQueue
121 public DelayQueue(Collection<? extends E> c) { in DelayQueue() method in DelayQueue
/libcore/
Dopenjdk_java_files.bp993 "ojluni/src/main/java/java/util/concurrent/DelayQueue.java",
DEXPECTED_UPSTREAM1044 …n/java/java/util/concurrent/DelayQueue.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
/libcore/api/
Dcurrent.txt15855 …public class DelayQueue<E extends java.util.concurrent.Delayed> extends java.util.AbstractQueue<E>…
15856 ctor public DelayQueue();
15857 ctor public DelayQueue(java.util.Collection<? extends E>);