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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user