()
| 494 | } |
| 495 | |
| 496 | get orderedEntriesArrayReversed(): Array<[any, Set<TKey>]> { |
| 497 | const result: Array<[any, Set<TKey>]> = [] |
| 498 | for (let i = this.sortedValues.length - 1; i >= 0; i--) { |
| 499 | const value = this.sortedValues[i] |
| 500 | result.push([value, this.valueMap.get(value) ?? new Set()]) |
| 501 | } |
| 502 | return result |
| 503 | } |
| 504 | |
| 505 | get valueMapData(): Map<any, Set<TKey>> { |
| 506 | return this.valueMap |