Skip to content

Instantly share code, notes, and snippets.

@CommanderTvis
Created July 28, 2020 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CommanderTvis/e0aebd48e2fd9d8a61c8d3c989a7ccb4 to your computer and use it in GitHub Desktop.
Save CommanderTvis/e0aebd48e2fd9d8a61c8d3c989a7ccb4 to your computer and use it in GitHub Desktop.
private val methodNameAdapters: Map<Pair<String, Int>, String> by lazy {
hashMapOf(
"+" to 2 to "add",
"*" to 2 to "multiply",
"/" to 2 to "divide",
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment