package java.lang.ref {
import flash.utils.Dictionary;
dynamic public class Reference {
  private var ref: Object;
  function Reference() {
    return;
  }
  public function clear__(): void {
    ref = null;
    return;
  }
  public function get__(): Object {
    if (ref === null)
      return null;
    return this.getImpl__();
  }
  private function getImpl__(): Object {
    for(var item:* in ref) {
    return item;
    }
    ref = null;
    return null;
  }
  public function set__Ljava_lang_Object_2(obj: Object): void {
    ref = new Dictionary(true);
    this.setImpl__Ljava_lang_Object_2(obj);
  }
  private function setImpl__Ljava_lang_Object_2(obj: Object): void { // native
    return;
  }
}
}
