Package ipfs.gomobile.android.bledriver

## Class CircularBuffer<E>

- java.lang.Object
- - ipfs.gomobile.android.bledriver.CircularBuffer<E>

-     public class CircularBuffer<E>
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CircularBuffer​(int capacity)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `capacity()` |
    `boolean` | `isEmpty()` |
    `boolean` | `isFull()` |
    `boolean` | `offer​(E element)` |
    `E` | `poll()` |
    `int` | `size()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CircularBuffer

          public CircularBuffer​(int capacity)

  - ### Method Detail

    - #### offer

          public boolean offer​(E element)

    - #### poll

          public E poll()

    - #### capacity

          public int capacity()

    - #### size

          public int size()

    - #### isEmpty

          public boolean isEmpty()

    - #### isFull

          public boolean isFull()