.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "Set.add" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" Set::add \- Add an element into a HashSet. .SH "SYNOPSIS" .B Void add( \fIvar HashSet set, a key\fP .B ")" .SH "ARGUMENTS" .PP .B "set" The set to add to .PP .B "val" The value to add .SH "DESCRIPTION" .PP Add a new element to a HashSet. If the value is already in the set, does nothing. .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "Set.HashSet"(3kaya) .PP .B "Set.array"(3kaya) .PP .B "Set.delete"(3kaya) .PP .B "Set.elem"(3kaya) .PP .B "Set.empty"(3kaya) .PP .B "Set.newHashSet"(3kaya) .PD 0.4v