Use new Maps factory.

The old HashMap class was a frankenstein one-size-fits-all mess of:
- storing simple objects
- storing Hashables
- having the capability to provide external functions to hash and check
equality of any other type of key.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5927 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2009-08-24 02:54:23 +00:00
parent e6fa8e77f1
commit c9ea3709f7
7 changed files with 65 additions and 20 deletions
@@ -25,7 +25,8 @@ import flash.utils.ByteArray;
import flash.utils.IDataOutput;
import com.threerings.util.ClassUtil;
import com.threerings.util.HashMap;
import com.threerings.util.Map;
import com.threerings.util.Maps;
import com.threerings.util.Log;
import com.threerings.util.Long;
import com.threerings.util.Short;
@@ -205,6 +206,6 @@ public class ObjectOutputStream
protected var _streamer :Streamer;
/** A map of classname to ClassMapping info. */
protected var _classMap :HashMap = new HashMap();
protected var _classMap :Map = Maps.newMapOf(String);
}
}