Comment

Comment by stickfigure

    final RingBuffer<String> ringBuffer = new RingBuffer<>(String.class, capacity);
Why does the constructor need the Class<?> parameter?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton