WeakRefLookupTable class | lookup.h[135]

WeakRefLookupTable is a "weak reference" version of the basic lookup table. This is similar to the regular LookupTable, and has the same methods; the only difference is that this type of table references its values "weakly." A value that is reachable only through weak references is subject to deletion by the garbage collector. A weak-reference lookup table is useful when you don't want a value's presence in the table to force the value to stay active, such as when the lookup table is merely a fast index to a set of values that must be otherwise reachable to be useful. When the garbage collector deletes one of our values, the key/value pair for the value is automatically deleted from the table.

`intrinsic class WeakRefLookupTable : LookupTable`

Superclass Tree (in declaration order)

`WeakRefLookupTable`
`LookupTable`
`Collection`
`Object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

``

``

``

``

(none)

Summary of Methods

``

Inherited from `LookupTable` :
`applyAll forEach forEachAssoc getBucketCount getDefaultValue getEntryCount isKeyPresent keysToList nthKey nthVal removeElement setDefaultValue valsToList`

Inherited from `Collection` :
`createIterator createLiveIterator`

Inherited from `Object` :
`callInherited getPropList getPropParams getSuperclassList isClass isTransient mapAll ofKind propDefined propInherited propType valToSymbol`

Properties

(none)

Methods

(none)

Adv3Lite Library Reference Manual
Generated on 02/05/2024 from adv3Lite version 2.0