<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1199,6 +1199,25 @@ function buildProcessing( curElement ){
       this._size = 0;
     }
     
+    this.containsKey = function( key ) {
+      var value;
+      if (typeof key == &quot;object&quot;) {
+        value = this.data[key._HashMap_key];
+      } else {
+        value = this.data[typeof key + key];
+      }
+      return value != undefined;
+    }
+    
+    this.containsValue = function( value ) {
+      for (var key in this.data) {
+        if (this.data[key] == value) {
+          return true;
+        }
+      }
+      return false;
+    }
+    
   }
   
   p.colorMode = function colorMode( mode, range1, range2, range3, range4 ) {</diff>
      <filename>processing.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>feca9cfc56bd0106cdc99a672ee462ad648cb652</id>
    </parent>
  </parents>
  <author>
    <name>MinyXO</name>
    <login>MinyXO</login>
    <email>minyxo@hotmail.com</email>
  </author>
  <url>http://github.com/MinyXO/processing-js/commit/8614f4bd771b12b9057ca713df56996808676eb4</url>
  <id>8614f4bd771b12b9057ca713df56996808676eb4</id>
  <committed-date>2009-11-20T20:54:40-08:00</committed-date>
  <authored-date>2009-11-20T20:54:40-08:00</authored-date>
  <message>added 2 functions for HashMap</message>
  <tree>596e694a03a50db810f5e1f8188cf0362d5c53c2</tree>
  <committer>
    <name>MinyXO</name>
    <login>MinyXO</login>
    <email>minyxo@hotmail.com</email>
  </committer>
</commit>
