Class MpscLinkedArrayQueue<T>
java.lang.Object
java.util.AbstractCollection<T>
java.util.AbstractQueue<T>
org.jctools.queues.MpscLinkedArrayQueue<T>
- All Implemented Interfaces:
Iterable<T>, Collection<T>, Queue<T>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Constructor Details
-
MpscLinkedArrayQueue
public MpscLinkedArrayQueue(int arrayCapacity)
-
-
Method Details
-
offer
-
poll
-
weakPoll
-
peek
-
weakPeek
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>- Overrides:
isEmptyin classAbstractCollection<T>
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein classAbstractCollection<T>
-
iterator
-