logback-android/src/main/java/ch/qos/logback/core/helpers/CyclicBuffer.java
public E get() {
    E r = null;
    if (numElems > 0) {
      numElems--;
      r = ea[first];
      ea[first] = null;
      if (++first == maxSize)
        first = 0;
    }
    return r;
  }
public E get() {
    E r = null;
    if (numElems > 0) {
      numElems--;
      r = ea[first];
      ea[first] = null;
      if (++first == maxSize)
        first = 0;
    }
    return r;
  }
public E get ( ) { E r = null ; if ( numElems > 0 ) { numElems -- ; r = ea [ first ] ; ea [ first ] = null ; if ( ++ first == maxSize ) first = 0 ; } return r ; }
Get the oldest (first) element in the buffer. The oldest element is removed
from the buffer.
@return the element
Get the oldest ( first ) element in the buffer . The oldest element is removed from the buffer .