Searched refs:DelayQueue (Results 1 – 6 of 6) sorted by relevance
47 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 …]
21 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 …]
77 public class DelayQueue<E extends Delayed> extends AbstractQueue<E> class111 public DelayQueue() {} in DelayQueue() method in DelayQueue121 public DelayQueue(Collection<? extends E> c) { in DelayQueue() method in DelayQueue
993 "ojluni/src/main/java/java/util/concurrent/DelayQueue.java",
1044 …n/java/java/util/concurrent/DelayQueue.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/java/…
15855 …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>);