/** Returns YES if the receiving dictionary and aDict have the same number of entries and for a given key, the corresponding objecs are also the same. \param $aDict \returns BOOL */ public function isEqualToDictionary(RTDictionary $aDict) { return $this->count() == $aDict->count() && $this->allKeys()->isEqualToArray($aDict->allKeys()) && $this->allValues()->isEqualToArray($aDict->allValues()); }