Added the keys() function to the Map interface, replaced instances of
SimpleMap with HashMap. Discarded SimpleMap. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4122 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -6,9 +6,6 @@ import flash.utils.ByteArray;
|
||||
import flash.utils.IDataInput;
|
||||
|
||||
import com.threerings.util.ClassUtil;
|
||||
import com.threerings.util.SimpleMap;
|
||||
|
||||
//import com.threerings.presents.Log;
|
||||
|
||||
public class ObjectInputStream
|
||||
{
|
||||
@@ -235,7 +232,6 @@ public class ObjectInputStream
|
||||
|
||||
|
||||
|
||||
|
||||
private static var _tempy :int = 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import flash.utils.ByteArray;
|
||||
import flash.utils.IDataOutput;
|
||||
|
||||
import com.threerings.util.ClassUtil;
|
||||
import com.threerings.util.SimpleMap;
|
||||
import com.threerings.util.HashMap;
|
||||
|
||||
public class ObjectOutputStream
|
||||
{
|
||||
@@ -180,6 +180,6 @@ public class ObjectOutputStream
|
||||
protected var _streamer :Streamer;
|
||||
|
||||
/** A map of classname to ClassMapping info. */
|
||||
protected var _classMap :SimpleMap = new SimpleMap();
|
||||
protected var _classMap :HashMap = new HashMap();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.threerings.io {
|
||||
|
||||
import com.threerings.util.SimpleMap;
|
||||
import com.threerings.util.HashMap;
|
||||
|
||||
/**
|
||||
* Maintains a set of translations between actionscript class names
|
||||
@@ -28,10 +28,10 @@ public class Translations
|
||||
}
|
||||
|
||||
/** A mapping of actionscript names to java names. */
|
||||
protected static var _toServer :SimpleMap = new SimpleMap();
|
||||
protected static var _toServer :HashMap = new HashMap();
|
||||
|
||||
/** A mapping of java names to actionscript names. */
|
||||
protected static var _fromServer :SimpleMap = new SimpleMap();
|
||||
protected static var _fromServer :HashMap = new HashMap();
|
||||
|
||||
// initialize some standard classes
|
||||
addTranslation("Object", "java.lang.Object");
|
||||
|
||||
Reference in New Issue
Block a user