E - public interface Buffer<E>
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
isEmpty() |
E |
peek() |
E |
poll(long timeout,
TimeUnit unit) |
void |
put(E e) |
void |
putAll(Collection<E> c) |
int |
remainingCapacity() |
int |
size() |
E |
take() |
void put(E e) throws InterruptedException
InterruptedExceptionvoid putAll(Collection<E> c) throws InterruptedException
InterruptedExceptionE poll(long timeout, TimeUnit unit) throws InterruptedException
InterruptedExceptionE take() throws InterruptedException
InterruptedExceptionE peek()
int size()
boolean isEmpty()
int remainingCapacity()
void clear()
Copyright © 2010–2018. All rights reserved.