<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css">
<title>
Gambas Documentation - Collection
 (gb)</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help+en"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../gb+en">Up</a>&nbsp;
<a href="classes/_next+en">Previous</a>&nbsp;
<a href="collection/add+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Collection
 (gb)</h1>
Implements an hash table whose keys are string and values are <a href="../../lang/type/variant+en">Variant</a>.
<p>
<tt><a href="../../lang/null+en">NULL</a></tt> is used when nothing is associated with a given key. Consequently, associating <tt><a href="../../lang/null+en">NULL</a></tt> with a key is the same thing as removing it from the collection.
<p>
The size of the internal hash table grows dynamically as data is inserted.
<p>
<div class="black"><font size="-2"><b>Symbols</b></font></div>
<div class="border">
This class is <a class="none" href="collection/_new+en">creatable</a>.<br>
This class acts like a <a class="none" href="collection/_get+en">read</a> / <a class="none" href="collection/_put+en">write</a> array.<br>
This class is <a class="none" href="collection/_next+en">enumerable</a> with the <a href="../../lang/foreach+en">FOR EACH</a> keyword.<br>
<hr><table class="none" cellspacing="0" cellpadding="0">
<tr>
<td align=left><b>Properties</b></td><td width="32">&nbsp;</td>
<td align=left><b>Methods</b></td><td width="32">&nbsp;</td>
</tr>
<tr valign=top>
<td>
<a class="none" href="collection/count+en">Count</a>&nbsp;&nbsp; <a class="none" href="collection/key+en">Key</a>&nbsp;&nbsp; <a class="none" href="collection/length+en">Length</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a class="none" href="collection/add+en">Add</a>&nbsp;&nbsp; <a class="none" href="collection/clear+en">Clear</a>&nbsp;&nbsp; <a class="none" href="collection/exist+en">Exist</a>&nbsp;&nbsp; <a class="none" href="collection/remove+en">Remove</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

</div>
</body>
</html>

