| Modifier and Type | Field and Description |
|---|---|
protected Object[] |
array |
protected int |
capacity |
protected long |
head |
protected io.zeebe.util.BoundedArrayQueue.BoundedArrayQueueIterator<P> |
iterator |
protected int |
mask |
protected long |
tail |
| Constructor and Description |
|---|
BoundedArrayQueue(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(P e) |
boolean |
addAll(Collection<? extends P> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
P |
element() |
int |
getCapacity() |
boolean |
isEmpty() |
Iterator<P> |
iterator() |
boolean |
offer(P object) |
P |
peek() |
P |
poll() |
P |
remove() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, parallelStream, removeIf, streamprotected Object[] array
protected int capacity
protected int mask
protected long head
protected long tail
protected io.zeebe.util.BoundedArrayQueue.BoundedArrayQueueIterator<P> iterator
public void clear()
clear in interface Collection<P>public int size()
size in interface Collection<P>public int getCapacity()
public boolean isEmpty()
isEmpty in interface Collection<P>public boolean contains(Object o)
contains in interface Collection<P>public Object[] toArray()
toArray in interface Collection<P>public <T> T[] toArray(T[] a)
toArray in interface Collection<P>public boolean remove(Object o)
remove in interface Collection<P>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<P>public boolean addAll(Collection<? extends P> c)
addAll in interface Collection<P>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<P>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<P>public boolean add(P e)
Copyright © 2017–2019 camunda services GmbH. All rights reserved.