RingBuffer's T.

I specified RingBuffer's T to Integer to avoid compile error.