code: @Override
      @SuppressWarnings("unchecked")
      public E peek() {
          return readConcurrently(() -> {
              if (size == 0) {
                  return null;
              }
              return (E) this.ringBuffer[this.headIndex];
          });
      }
docs: {@inheritDoc}