From 42ec7286b2d36a9ba22925f816a17cb1cc2aa5ce Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 11:32:16 +0800 Subject: + Penlight --- .../Penlight/docs/classes/pl.MultiMap.html | 207 +++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 Data/Libraries/Penlight/docs/classes/pl.MultiMap.html (limited to 'Data/Libraries/Penlight/docs/classes/pl.MultiMap.html') diff --git a/Data/Libraries/Penlight/docs/classes/pl.MultiMap.html b/Data/Libraries/Penlight/docs/classes/pl.MultiMap.html new file mode 100644 index 0000000..b711b54 --- /dev/null +++ b/Data/Libraries/Penlight/docs/classes/pl.MultiMap.html @@ -0,0 +1,207 @@ + + + + + Penlight Documentation + + + + +
+ +
+ +
+
+
+ + +
+ + + + + + +
+ +

Class pl.MultiMap

+

MultiMap, a Map which has multiple values per key.

+

Dependencies: pl.utils, pl.class, pl.List, pl.Map

+ + +

Methods

+ + + + + + + + + +
pl.MultiMap:update (t)update a MultiMap using a table.
pl.MultiMap:set (key, val)add a new value to a key.
+ +
+
+ + +

Methods

+ +
+
+ + pl.MultiMap:update (t) +
+
+ update a MultiMap using a table. + + +

Parameters:

+
    +
  • t + either a Multimap or a map-like table. +
  • +
+ +

Returns:

+
    + + the map +
+ + + + +
+
+ + pl.MultiMap:set (key, val) +
+
+ add a new value to a key. Setting a nil value removes the key. + + +

Parameters:

+
    +
  • key + the key +
  • +
  • val + the value +
  • +
+ +

Returns:

+
    + + the map +
+ + + + +
+
+ + +
+
+
+generated by LDoc 1.4.6 +
+
+ + -- cgit v1.1-26-g67d0