Class com.flashdoctors.util.SimpleMap

Implemented Interfaces

IMap

Description

This implementation probably won't win any speed records, but it works with any type of objects as values AND keys. There is a attempt to optimize if all keys are strings.

Method Index

new SimpleMap()
getKeys(), getValue(), getValues(), keyExists(), putItem(), toString(), valueExists()

Constructor Detail

SimpleMap

function SimpleMap()

Method Detail

putItem

public function putItem(key:Object, val:Object):Void

getKeys

public function getKeys():IList

getValues

public function getValues():IList

getValue

public function getValue(key:Object):Object

keyExists

public function keyExists(key:Object):Boolean

valueExists

public function valueExists(val:Object):Boolean

toString

public function toString():String