module armExplorer { interface IStringDictionary < T > { put ( key , value ) ; contains ( key ) : boolean ; get ( key ) : T ; } export class StringDictionary < T > implements IStringDictionary < T > { private items : { [ index ] : T ; } = { } ; public contains ( key ) { return this . items . hasOwnProperty ( key ) ; } public put ( key , value ) { this . items [ key ] = value ; } public get ( key ) { return this . items [ key ] ; } } }