Wee Occam Jr., with his shiny oversized plastic "My First Razor"!

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4469 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-12-06 02:50:32 +00:00
parent d9894b6c78
commit dfb4de0608
+2 -4
View File
@@ -76,15 +76,13 @@ public class Hashtable
var hash :int = hkey.hashCode();
var index :int = indexFor(hash);
var e :Entry = (_entries[index] as Entry);
while (true) {
if (e == null) {
return undefined;
}
while (e != null) {
if (e.hash == hash && e.key.equals(hkey)) {
return e.value;
}
e = e.next;
}
return undefined;
}
// documentation inherited from interface Map