tried moving helper function to where the other global util functions are defined to try avoid namespace method disappearing

This commit is contained in:
James Strachan
2012-02-21 10:41:02 +00:00
parent e39aa727a9
commit 724f7860ab
2 changed files with 4 additions and 3 deletions
-3
View File
@@ -51,6 +51,3 @@ inline fun <K,V> java.util.Map<K,V>.getOrElseUpdate(key: K, defaultValue: ()-> V
return answer
}
}
/** Returns a new hash map */
inline fun <K,V> hashMap() = HashMap<K,V>()