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
InterruptedException
void putAll(Collection<E> c) throws InterruptedException
InterruptedException
E poll(long timeout, TimeUnit unit) throws InterruptedException
InterruptedException
E take() throws InterruptedException
InterruptedException
E peek()
int size()
boolean isEmpty()
int remainingCapacity()
void clear()
Copyright © 2010–2018. All rights reserved.