(
offset: number,
limit: number,
comparator: (a: V, b: V) => number,
)
| 79 | #topKEnd: number |
| 80 | |
| 81 | constructor( |
| 82 | offset: number, |
| 83 | limit: number, |
| 84 | comparator: (a: V, b: V) => number, |
| 85 | ) { |
| 86 | this.#topKStart = offset |
| 87 | this.#topKEnd = offset + limit |
| 88 | this.#comparator = comparator |
| 89 | } |
| 90 | |
| 91 | get size(): number { |
| 92 | const offset = this.#topKStart |
nothing calls this directly
no outgoing calls
no test coverage detected