<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<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>
<body>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../../help%3Fen"><img class="flag" alt="Home" border="0" src="../../../img/lang/en.png" align="center"></a>&nbsp;&nbsp;
<a href="../gb%3Fen">Up</a>&nbsp;&nbsp;
<a href="classes/_next%3Fen">Previous</a>&nbsp;&nbsp;
<a href="collection/add%3Fen">Next</a>&nbsp;&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%3Fen">Variant</a>.
<p>
<tt><a href="../../lang/null%3Fen">NULL</a></tt> is used when nothing is associated with a given key. Consequently, associating <tt><a href="../../lang/null%3Fen">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 color="white" size="-2"><b>Symbols</b></font></div>
<div class="border">
This class is <a href="collection/_new%3Fen">creatable</a>.<br>
This class acts like a <a href="collection/_get%3Fen">read</a> / <a href="collection/_put%3Fen">write</a> array.<br>
This class is <a href="collection/_next%3Fen">enumerable</a> with the <a href="../../lang/foreach%3Fen">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 href="collection/count%3Fen">Count</a>&nbsp;&nbsp; <a href="collection/key%3Fen">Key</a>&nbsp;&nbsp; <a href="collection/length%3Fen">Length</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
<td>
<a href="collection/add%3Fen">Add</a>&nbsp;&nbsp; <a href="collection/clear%3Fen">Clear</a>&nbsp;&nbsp; <a href="collection/exist%3Fen">Exist</a>&nbsp;&nbsp; <a href="collection/remove%3Fen">Remove</a>&nbsp;&nbsp; </td><td>&nbsp;</td>
</tr>
</table>
</div>

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

