1Set.add(3kaya) Kaya module reference Set.add(3kaya)
2
3
4
6 Set::add - Add an element into a HashSet.
7
9 Void add( var HashSet<a> set, a key )
10
12 set The set to add to
13
14 val The value to add
15
17 Add a new element to a HashSet. If the value is already in the set,
18 does nothing.
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
31 Set.HashSet (3kaya)
32 Set.array (3kaya)
33 Set.delete (3kaya)
34 Set.elem (3kaya)
35 Set.empty (3kaya)
36 Set.newHashSet (3kaya)
37
38
39
40Kaya December 2010 Set.add(3kaya)