object StringInterner
- Companion
- class
Value members
Concrete methods
Creates a string interner that will hold strong references to the interned objects and they wont be GC'ed until reference to the interner is released.
Creates a string interner that will hold strong references to the interned objects and they wont be GC'ed until reference to the interner is released.
- Value Params
- initialSize
Initial string table size
- maxStringLength
Maximum string length that will be considered for interning
- Returns
Instance of the StringInterner which uses strong references