public class CompactBufferQueue extends Object implements Queue<ByteBuffer>
| 构造器和说明 |
|---|
CompactBufferQueue() |
CompactBufferQueue(int bufferSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(ByteBuffer byteBuffer) |
boolean |
addAll(Collection<? extends ByteBuffer> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
ByteBuffer |
element() |
boolean |
isEmpty() |
Iterator<ByteBuffer> |
iterator() |
boolean |
offer(ByteBuffer byteBuffer) |
ByteBuffer |
peek() |
ByteBuffer |
poll() |
ByteBuffer |
remove() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
equals, hashCode, parallelStream, removeIf, spliterator, streampublic CompactBufferQueue()
public CompactBufferQueue(int bufferSize)
public ByteBuffer poll()
poll 在接口中 Queue<ByteBuffer>public ByteBuffer element()
element 在接口中 Queue<ByteBuffer>public ByteBuffer peek()
peek 在接口中 Queue<ByteBuffer>public boolean isEmpty()
isEmpty 在接口中 Collection<ByteBuffer>public boolean contains(Object o)
contains 在接口中 Collection<ByteBuffer>public Iterator<ByteBuffer> iterator()
iterator 在接口中 Iterable<ByteBuffer>iterator 在接口中 Collection<ByteBuffer>public Object[] toArray()
toArray 在接口中 Collection<ByteBuffer>public <T> T[] toArray(T[] a)
toArray 在接口中 Collection<ByteBuffer>public boolean add(ByteBuffer byteBuffer)
add 在接口中 Collection<ByteBuffer>add 在接口中 Queue<ByteBuffer>public boolean remove(Object o)
remove 在接口中 Collection<ByteBuffer>public boolean containsAll(Collection<?> c)
containsAll 在接口中 Collection<ByteBuffer>public boolean addAll(Collection<? extends ByteBuffer> c)
addAll 在接口中 Collection<ByteBuffer>public boolean removeAll(Collection<?> c)
removeAll 在接口中 Collection<ByteBuffer>public boolean retainAll(Collection<?> c)
retainAll 在接口中 Collection<ByteBuffer>public void clear()
clear 在接口中 Collection<ByteBuffer>public boolean offer(ByteBuffer byteBuffer)
offer 在接口中 Queue<ByteBuffer>public ByteBuffer remove()
remove 在接口中 Queue<ByteBuffer>public int size()
size 在接口中 Collection<ByteBuffer>Copyright © 2019. All rights reserved.