2015-02-10 20:30:40 -05:00
|
|
|
USING: help.markup help.syntax math sequences sets ;
|
2010-02-27 00:27:40 -05:00
|
|
|
IN: hash-sets
|
|
|
|
|
|
|
|
ARTICLE: "hash-sets" "Hash sets"
|
2013-03-08 09:15:27 -05:00
|
|
|
"The " { $vocab-link "hash-sets" } " vocabulary implements hashtable-like sets. Hash sets form a class:"
|
2011-10-19 14:35:25 -04:00
|
|
|
{ $subsections hash-set }
|
2010-03-30 01:10:39 -04:00
|
|
|
"Constructing new hash sets:"
|
2011-10-19 14:35:25 -04:00
|
|
|
{ $subsections <hash-set> >hash-set }
|
2010-02-27 00:27:40 -05:00
|
|
|
"The syntax for hash sets is described in " { $link "syntax-hash-sets" } "." ;
|
|
|
|
|
|
|
|
ABOUT: "hash-sets"
|
|
|
|
|
|
|
|
HELP: hash-set
|
2016-03-29 18:46:29 -04:00
|
|
|
{ $class-description "The class of hashtable-like sets. These implement the " { $link set } " mixin." } ;
|
2010-02-27 00:27:40 -05:00
|
|
|
|
|
|
|
HELP: <hash-set>
|
2011-10-19 14:35:25 -04:00
|
|
|
{ $values { "capacity" number } { "hash-set" hash-set } }
|
|
|
|
{ $description "Creates a new hash set capable of storing " { $snippet "capacity" } " elements before growing." } ;
|
|
|
|
|
|
|
|
HELP: >hash-set
|
2010-02-27 00:27:40 -05:00
|
|
|
{ $values { "members" sequence } { "hash-set" hash-set } }
|
|
|
|
{ $description "Creates a new hash set with the given members." } ;
|