Skip to content

Instantly share code, notes, and snippets.

@tocttou
Created December 12, 2017 12:09
Show Gist options
  • Save tocttou/cae45b5009c8089ec3d4d5abff1fb343 to your computer and use it in GitHub Desktop.
Save tocttou/cae45b5009c8089ec3d4d5abff1fb343 to your computer and use it in GitHub Desktop.
package
class FrequencyMap<K, Int>(
private val b: MutableMap<K, kotlin.Int>,
private val c: Map<K, kotlin.Int>)
: MutableMap<K, kotlin.Int> by b, Map<K, kotlin.Int> by c {
// Do something with b an c
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment