code: @SuppressWarnings("unchecked")
      public <E> E read(long sequence) {
          checkReadSequence(sequence);
          return (E) items[toIndex(sequence)];
      }
docs: Reads one item from the ringbuffer.
  
  @param sequence the sequence of the item to read
  @param <E>      ringbuffer item type
  @return the ringbuffer item
  @throws StaleSequenceException if the sequence is smaller then {@link #getHeadSequence()}
  or larger than {@link #getTailSequence()}