public class CircularIntBuffer extends CircularBuffer<E> implements BasicSingleConsumerIntQueue
| Modifier and Type | Class and Description |
|---|---|
class |
CircularIntBuffer.IntConsumer |
CircularBuffer.Consumer| Constructor and Description |
|---|
CircularIntBuffer(int size,
boolean singleProducer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enq(int elem) |
boolean |
enq(java.lang.Integer elem) |
CircularIntBuffer.IntConsumer |
newConsumer() |
int |
pollInt() |
builtinConsumer, capacity, hasNext, isEmpty, isSingleProducer, poll, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNextcapacity, isEmpty, poll, sizepublic boolean enq(java.lang.Integer elem)
enq in interface BasicQueue<java.lang.Integer>enq in class CircularBuffer<java.lang.Integer>public boolean enq(int elem)
enq in interface BasicSingleConsumerIntQueuepublic int pollInt()
pollInt in interface BasicSingleConsumerIntQueuepublic CircularIntBuffer.IntConsumer newConsumer()
newConsumer in class CircularBuffer<java.lang.Integer>