 package com.threerings.util {
-
-import flash.util.Dictionary;
 
 /**
  * I will likely extend this out to be a fully-featured map.

{
    public function clear () :void
    {
        _data = new Dictionary();
        _size = 0;
    }

    public function get (key :Object) :Object
    {
        return _data[key];
    }

    public function keys () :Array
    {
        var arr :Array = new Array();
        for (var key :Object in _data) {
            arr.push(key);
        }
        return arr;
    }

    public function put (key :Object, value :Object) :Object
    {
        var oldValue :* = _data[key];
        _data[key] = value;
        if (oldValue === undefined) {
            _size++;
        }

        return _size;
    }

    protected var _data :Object = new Object();

    protected var _size :int = 0;
}
