/libcore/luni/src/main/java/java/util/concurrent/ |
BlockingQueue.java | 321 int drainTo(Collection<? super E> c); 346 int drainTo(Collection<? super E> c, int maxElements);
|
DelayQueue.java | 292 * Used only by drainTo. Call only when holding lock. 307 public int drainTo(Collection<? super E> c) { 333 public int drainTo(Collection<? super E> c, int maxElements) {
|
LinkedBlockingQueue.java | 683 public int drainTo(Collection<? super E> c) { 684 return drainTo(c, Integer.MAX_VALUE); 693 public int drainTo(Collection<? super E> c, int maxElements) {
|
ArrayBlockingQueue.java | 663 public int drainTo(Collection<? super E> c) { 664 return drainTo(c, Integer.MAX_VALUE); 673 public int drainTo(Collection<? super E> c, int maxElements) { [all...] |
LinkedBlockingDeque.java | 701 public int drainTo(Collection<? super E> c) { 702 return drainTo(c, Integer.MAX_VALUE); 711 public int drainTo(Collection<? super E> c, int maxElements) { [all...] |
PriorityBlockingQueue.java | 34 * {@code Arrays.sort(pq.toArray())}. Also, method {@code drainTo} 722 public int drainTo(Collection<? super E> c) { 723 return drainTo(c, Integer.MAX_VALUE); 732 public int drainTo(Collection<? super E> c, int maxElements) {
|
LinkedTransferQueue.java | [all...] |
ScheduledThreadPoolExecutor.java | [all...] |
SynchronousQueue.java | [all...] |
ThreadPoolExecutor.java | 817 * drainTo. But if the queue is a DelayQueue or any other kind of 818 * queue for which poll or drainTo may fail to remove some 824 q.drainTo(taskList); [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
ForwardingBlockingQueue.java | 44 @Override public int drainTo( 46 return delegate().drainTo(c, maxElements); 49 @Override public int drainTo(Collection<? super E> c) { 50 return delegate().drainTo(c);
|
/external/guava/guava/src/com/google/common/collect/ |
Queues.java | 191 * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested 208 * execute Queue#drainTo is not added *on top* of waiting for the timeout (which could make 214 // we could rely solely on #poll, but #drainTo might be more efficient when there are multiple 215 // elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) 216 added += q.drainTo(buffer, numElements - added); 250 // we could rely solely on #poll, but #drainTo might be more efficient when there are 251 // multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once) 252 added += q.drainTo(buffer, numElements - added);
|
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |
/prebuilts/sdk/8/ |
android.jar | |
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/ |
guava-14.0.jar | |
/external/droiddriver/libs/ |
guava-13.0.jar | |
/prebuilts/devtools/tools/lib/ |
guava-13.0.1.jar | |
/prebuilts/misc/common/tradefed/ |
tradefed-prebuilt.jar | |
/prebuilts/sdk/tools/lib/ |
guava-10.0.1.jar | |