Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingBlockingQueue.java44 @Override public int drainTo( in drainTo() method in ForwardingBlockingQueue
46 return delegate().drainTo(c, maxElements); in drainTo()
49 @Override public int drainTo(Collection<? super E> c) { in drainTo() method in ForwardingBlockingQueue
50 return delegate().drainTo(c); in drainTo()
/external/guava/guava/src/com/google/common/collect/
DForwardingBlockingDeque.java115 public int drainTo(Collection<? super E> c) { in drainTo() method in ForwardingBlockingDeque
116 return delegate().drainTo(c); in drainTo()
120 public int drainTo(Collection<? super E> c, int maxElements) { in drainTo() method in ForwardingBlockingDeque
121 return delegate().drainTo(c, maxElements); in drainTo()
DQueues.java273 added += q.drainTo(buffer, numElements - added); in drain()
310 added += q.drainTo(buffer, numElements - added); in drainUninterruptibly()
/external/guava/guava-tests/test/com/google/common/collect/
DForwardingBlockingDequeTest.java112 forward.drainTo(Lists.newArrayList()); in testDrainTo_T()
117 forward.drainTo(Lists.newArrayList(), 3); in testDrainTo_T_maxElements()
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/
DMonitorBasedPriorityBlockingQueue.java395 public int drainTo(Collection<? super E> c) { in drainTo() method in MonitorBasedPriorityBlockingQueue
422 public int drainTo(Collection<? super E> c, int maxElements) { in drainTo() method in MonitorBasedPriorityBlockingQueue
DMonitorBasedArrayBlockingQueue.java593 public int drainTo(Collection<? super E> c) { in drainTo() method in MonitorBasedArrayBlockingQueue
629 public int drainTo(Collection<? super E> c, int maxElements) { in drainTo() method in MonitorBasedArrayBlockingQueue