<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>MutableHashTable -- the class of all mutable hash tables</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_operators.html">next</a> | <a href="___Hash__Table.html">previous</a> | forward | <a href="___Hash__Table.html">backward</a> | <a href="_hash_sptables.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_hash_sptables.html" title="">hash tables</a> > <a href="___Mutable__Hash__Table.html" title="the class of all mutable hash tables">MutableHashTable</a></div> <hr/> <div><h1>MutableHashTable -- the class of all mutable hash tables</h1> <div class="single"><h2>Description</h2> <div><p/> A mutable hash table is a type of hash table whose entries can be changed.<p/> Normally the entries in a mutable hash table are not printed, to prevent infinite loops in the printing routines. To print them out, use <a href="_peek.html" title="examine contents of an object">peek</a>.<table class="examples"><tr><td><pre>i1 : x = new MutableHashTable o1 = MutableHashTable{} o1 : MutableHashTable</pre> </td></tr> <tr><td><pre>i2 : scan(0 .. 30, i -> x#i = i^2)</pre> </td></tr> <tr><td><pre>i3 : x # 20 o3 = 400</pre> </td></tr> <tr><td><pre>i4 : x #? 40 o4 = false</pre> </td></tr> </table> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Hash__Table.html" title="the class of all hash tables">HashTable</a> -- the class of all hash tables</span></li> </ul> </div> <div class="waystouse"><h2>Types of mutable hash table :</h2> <ul><li><span><a href="___Cache__Table.html" title="hash tables for caching">CacheTable</a> -- hash tables for caching</span></li> <li><span><a href="___Descent.html" title="">Descent</a></span></li> <li><span><a href="___Graded__Module.html" title="the class of all graded modules">GradedModule</a> -- the class of all graded modules</span></li> <li><span><a href="___Graded__Module__Map.html" title="the class of all maps between graded modules">GradedModuleMap</a> -- the class of all maps between graded modules</span></li> <li><span><a href="___Groebner__Basis.html" title="the class of all Gröbner bases">GroebnerBasis</a> -- the class of all Gröbner bases</span></li> <li><span><a href="___Indexed__Variable__Table.html" title="">IndexedVariableTable</a></span></li> <li><span><a href="___Package.html" title="the class of all packages">Package</a> -- the class of all packages</span></li> <li><span><a href="___Resolution.html" title="the class of all resolution computations">Resolution</a> -- the class of all resolution computations</span></li> <li><span><a href="___Scripted__Functor.html" title="the class of all scripted functors">ScriptedFunctor</a> -- the class of all scripted functors</span></li> <li><span><a href="___Type.html" title="the class of all types">Type</a> -- the class of all types</span></li> <li><span><a href="___Variety.html" title="the class of all algebraic varieties">Variety</a> -- the class of all algebraic varieties</span></li> </ul> <h2>Fixed objects of class MutableHashTable :</h2> <ul><li><span><a href="_file__Dictionaries.html" title="local dictionaries for loaded files">fileDictionaries</a> -- local dictionaries for loaded files</span></li> <li><span><a href="_global__Assignment__Hooks.html" title="assignment hooks for global symbols">globalAssignmentHooks</a> -- assignment hooks for global symbols</span></li> <li><span><a href="_loaded__Files.html" title="">loadedFiles</a></span></li> <li><span><a href="_nullary__Methods.html" title="">nullaryMethods</a></span></li> <li><span><a href="_typical__Values.html" title="types of values returned by functions">typicalValues</a> -- types of values returned by functions</span></li> </ul> </div> <div class="waystouse"><h2>For the programmer</h2> <p>The object <a href="___Mutable__Hash__Table.html" title="the class of all mutable hash tables">MutableHashTable</a> is <span>a <a href="___Type.html">type</a></span>, with ancestor classes <a href="___Hash__Table.html" title="the class of all hash tables">HashTable</a> < <a href="___Thing.html" title="the class of all things">Thing</a>.</p> </div> </div> </body> </html>