frost.collections

Interface MapWriter<K, V>

A write-only version of the standard Map abstract data type. MapWriter is generally paired with MapView, as in the Map interface.

Source Code:
View Source
Inherited Fields:

Instance Method Summary

-- indexed assignment operator --
[]:=(key:K, value:V)
Inserts a new value or replaces an existing value.
remove(key:K)
Removes the entry for key, if present.
filterInPlace(test:(K, V)=>(Bit))
Removes all entries from the map for which test returns false.
clear()
Removes all entries from the list.

Instance Methods

-- indexed assignment operator --
method []:= (key:K,
 value:V)

Inserts a new value or replaces an existing value.

Parameters:
key - value of type K
value - value of type V
method remove (key:K)

Removes the entry for key, if present.

Parameters:
key - value of type K
method filterInPlace (test:(K, V)=>(Bit))

Removes all entries from the map for which test returns false.

Parameters:
test - value of type (K, V)=>(Bit)
method clear ()

Removes all entries from the list.