Skip to content

Instantly share code, notes, and snippets.

@simshanith
Created January 23, 2011 06:41
Show Gist options
  • Save simshanith/791879 to your computer and use it in GitHub Desktop.
Save simshanith/791879 to your computer and use it in GitHub Desktop.
// goog.require('goog.structs.LinkedMap');
goog.provide('sim.examples.linkedMap_');
sim.examples.linkedMap_.getKeyByIndex = function getKeyByIndex(i, lMap) {
return lMap.getKeys()[i];
};
sim.examples.linkedMap_.getValueByIndex = function getValueByIndex(i, lMap) {
return lMap.getValues()[i];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment