Changed IntMap to HashIntMap.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@339 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-09-17 05:18:21 +00:00
parent 00fde3eeb3
commit ec1cf5c667
4 changed files with 12 additions and 12 deletions
@@ -1,5 +1,5 @@
//
// $Id: TileManager.java,v 1.15 2001/08/16 23:14:20 mdb Exp $
// $Id: TileManager.java,v 1.16 2001/09/17 05:18:21 mdb Exp $
package com.threerings.media.tile;
@@ -7,7 +7,7 @@ import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import com.samskivert.util.IntMap;
import com.samskivert.util.HashIntMap;
import com.threerings.media.Log;
@@ -70,7 +70,7 @@ public class TileManager
}
/** Cache of tiles that have been requested thus far. */
protected IntMap _tiles = new IntMap();
protected HashIntMap _tiles = new HashIntMap();
/** The tileset manager. */
protected TileSetManager _tilesetmgr;
@@ -1,5 +1,5 @@
//
// $Id: TileSetManagerImpl.java,v 1.11 2001/08/16 23:17:46 mdb Exp $
// $Id: TileSetManagerImpl.java,v 1.12 2001/09/17 05:18:21 mdb Exp $
package com.threerings.media.tile;
@@ -63,5 +63,5 @@ public abstract class TileSetManagerImpl implements TileSetManager
protected ImageManager _imgmgr;
/** The available tilesets keyed by tileset id. */
protected IntMap _tilesets = new IntMap();
protected HashIntMap _tilesets = new HashIntMap();
}
@@ -1,10 +1,10 @@
//
// $Id: ClientDObjectMgr.java,v 1.5 2001/08/07 20:38:58 mdb Exp $
// $Id: ClientDObjectMgr.java,v 1.6 2001/09/17 05:18:20 mdb Exp $
package com.threerings.cocktail.cher.client;
import java.util.ArrayList;
import com.samskivert.util.IntMap;
import com.samskivert.util.HashIntMap;
import com.samskivert.util.Queue;
import com.threerings.cocktail.cher.Log;
@@ -331,8 +331,8 @@ public class ClientDObjectMgr
* This table contains all of the distributed objects that are active
* on this client.
*/
protected IntMap _ocache = new IntMap();
protected HashIntMap _ocache = new HashIntMap();
/** This table contains pending subscriptions. */
protected IntMap _penders = new IntMap();
protected HashIntMap _penders = new HashIntMap();
}
@@ -1,12 +1,12 @@
//
// $Id: ValueMarshaller.java,v 1.2 2001/08/09 00:59:53 mdb Exp $
// $Id: ValueMarshaller.java,v 1.3 2001/09/17 05:18:21 mdb Exp $
package com.threerings.cocktail.cher.dobj.io;
import java.io.*;
import java.util.HashMap;
import com.samskivert.util.IntMap;
import com.samskivert.util.HashIntMap;
/**
* The value marshaller provides a mechanism for marshalling and
@@ -483,7 +483,7 @@ public class ValueMarshaller
}
protected static HashMap _outmap = new HashMap();
protected static IntMap _inmap = new IntMap();
protected static HashIntMap _inmap = new HashIntMap();
protected static Class[] _classes = {
Byte.class,