Searched defs:poll (Results 1 - 19 of 19) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/lang/ref/
H A DReferenceQueue.java50 public synchronized Reference<? extends T> poll() { method in class:ReferenceQueue
118 return poll();
/dalvik/libcore/luni/src/main/java/java/util/
H A DQueue.java31 * {@code poll} returns {@code null} to indicate that there is no element left
61 public E poll(); method in interface:Queue
H A DLinkedList.java714 public E poll() { method in class:LinkedList
H A DPriorityQueue.java202 public E poll() { method in class:PriorityQueue
H A DWeakHashMap.java174 // cannot poll() as that would change the expectedModCount
260 while (referenceQueue.poll() != null) {
293 poll();
351 poll();
432 poll();
473 poll();
496 poll();
528 poll();
567 void poll() { method in class:WeakHashMap
569 while ((toRemove = (Entry<K, V>) referenceQueue.poll()) !
[all...]
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DCompletionService.java80 Future<V> poll(); method in interface:CompletionService
96 Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException; method in interface:CompletionService
H A DBlockingQueue.java50 * <td>{@link #poll poll()}</td>
52 * <td>{@link #poll(long, TimeUnit) poll(time, unit)}</td>
67 * <tt>poll</tt> operations.
248 E poll(long timeout, TimeUnit unit) method in interface:BlockingQueue
H A DExecutorCompletionService.java161 public Future<V> poll() { method in class:ExecutorCompletionService
162 return completionQueue.poll();
165 public Future<V> poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:ExecutorCompletionService
166 return completionQueue.poll(timeout, unit);
H A DDelayQueue.java21 * past. If no delay has expired there is no head and <tt>poll</tt>
25 * removed using <tt>take</tt> or <tt>poll</tt>, they are otherwise
53 * poll(...), unless some other thread becomes leader in the
152 public E poll() { method in class:DelayQueue
160 return q.poll();
184 return q.poll();
216 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:DelayQueue
231 return q.poll();
259 * <tt>poll</tt>, if no expired elements are available in the queue,
305 c.add(q.poll());
[all...]
H A DPriorityBlockingQueue.java204 public E poll() { method in class:PriorityBlockingQueue
208 return q.poll();
225 E x = q.poll();
233 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:PriorityBlockingQueue
239 E x = q.poll();
387 while ( (e = q.poll()) != null) {
415 while (n < maxElements && (e = q.poll()) != null) {
H A DArrayBlockingQueue.java59 /** items index for next take, poll or remove */
297 public E poll() { method in class:ArrayBlockingQueue
328 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:ArrayBlockingQueue
H A DConcurrentLinkedQueue.java86 * poll() that has lost its time slice.
112 * poll() and remove(Object) where the same element would appear
289 public E poll() { method in class:ConcurrentLinkedQueue
332 * another variant of poll/peek; here returning out the first
H A DLinkedBlockingQueue.java84 /** Lock held by take, poll, etc */
111 * Signals a waiting put. Called only from take/poll.
377 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:LinkedBlockingQueue
410 public E poll() { method in class:LinkedBlockingQueue
H A DScheduledThreadPoolExecutor.java704 * poll(...), unless some other thread becomes leader in the
900 * Performs common bookkeeping for poll and take: Replaces
915 public ScheduledFutureTask poll() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
962 public ScheduledFutureTask poll(long timeout, TimeUnit unit) method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
H A DSynchronousQueue.java29 * <tt>poll()</tt> will return <tt>null</tt>. For purposes of other
393 * SynchronousQueue.{poll/offer} don't check interrupts
873 public E poll(long timeout, TimeUnit unit) throws InterruptedException { method in class:SynchronousQueue
887 public E poll() { method in class:SynchronousQueue
1052 while ( (e = poll()) != null) {
1072 while (n < maxElements && (e = poll()) != null) {
/dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
H A DAbstractQueueTest.java31 public Integer poll() { return one; } method in class:AbstractQueueTest.Succeed
42 public Integer poll() { return null; } method in class:AbstractQueueTest.Fail
80 * remove returns normally if poll succeeds
88 * remove throws NSEE if poll returns null
/dalvik/libcore/luni/src/test/java/tests/api/java/util/
H A DAbstractQueueTest.java93 public E poll() { method in class:AbstractQueueTest.MockAbstractQueue
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DProcessManager.java107 while ((reference = referenceQueue.poll()) != null) {
342 public ProcessReference poll() { method in class:ProcessManager.ProcessReferenceQueue
344 Object reference = super.poll();
/dalvik/libcore/luni/src/main/native/
H A Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp853 int poll = 1; local
855 while (poll) { /* begin polling loop */
898 poll = 0;
914 poll = 0;

Completed in 208 milliseconds