RollingBuffer

Simplified port of Lucene's RollingBuffer. Acts like a growable T[] with reuse of instances.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
interface Resettable

Functions

Link copied to clipboard
fun freeBefore(pos: Int)
Link copied to clipboard
fun get(pos: Int): T

Get instance for this absolute position

Link copied to clipboard
Link copied to clipboard
fun getMaxPos(): Int
Link copied to clipboard
fun reset()