Finished implementing simple_passthrough

This commit is contained in:
Nathan Braswell
2016-02-17 13:37:48 -05:00
parent 5a4d139d18
commit 21034a820f
4 changed files with 84 additions and 19 deletions

View File

@@ -65,6 +65,9 @@ obj map<T,U> (Object, Serializable) {
fun contains_key(key: T): bool {
return keys.contains(key)
}
fun contains_value(value: U): bool {
return values.contains(value)
}
fun get(key: T): ref U {
/*return values.get(keys.find(key))*/
var key_loc = keys.find(key)