public E get(int i) {
    if (i < 0 || i >= numElems)
      return null;

    return ea[(first + i) % maxSize];
  }
public E get(int i) {
    if (i < 0 || i >= numElems)
      return null;

    return ea[(first + i) % maxSize];
  }
public E get ( int i ) { if ( i < 0 || i >= numElems ) return null ; return ea [ ( first + i ) % maxSize ] ; }
Get the <i>i</i>th oldest event currently in the buffer. If <em>i</em>
is outside the range 0 to the number of elements currently in the buffer,
then <code>null</code> is returned.
@param i the index of the oldest event to fetch
@return the event
Get the <i > i< / i > th oldest event currently in the buffer . If <em > i< / em > is outside the range 0 to the number of elements currently in the buffer then <code > null< / code > is returned .