shadow:standard

Interface CanIndexStoreNullable<K,V>

interface CanIndexStoreNullable<K, V>

Interface CanIndexStoreNullable<K,V> specifies that a class can store a value in a location associated with a particular key. This interface allows the overloading of the [] operator used to store values. If this operator is applied, the appropriate index(K,V) method will be called, storing the value in a location associated with the key. This interface provides store indexing functionality for nullable arrays and other symbol tables. It differs from the CanIndexStore<K,V> interface in that its index(K,V) method can store a null value. Interface CanIndexNullable<K,V> provides related index load functionality.

See Also

Method Summary

Modifiers Return Types Method and Description
public () index(K key, nullable V value)

Method called to store a value in a location associated with the key.

Method Detail

index

public index(K key, nullable V value) => ()

Method called to store a value in a location associated with the key.

Parameters

key - key value

value - value to be stored in a location associated with the key