API Reference > bentleyjs-core > Collections > LRUDictionary > constructor constructor Method Construct a new LRUDictionary to hold up to limit entries. LRUDictionary(limit: number, compareKeys: OrderedComparator<K>): LRUDictionary Parameter Type Description limit number The maximum number of entries permitted in the dictionary. compareKeys OrderedComparator<K> The function used to compare keys within the dictionary. Returns - LRUDictionary Defined in core/bentley/src/LRUMap.ts Line 369 Last Updated: 15 June, 2021