(slightly modified) contribution of Sergey Ignatov of methods for strings and arrays

This commit is contained in:
Alex Tkachman
2011-12-13 13:26:42 +02:00
parent 54336a285d
commit 9d0a2c7243
3 changed files with 86 additions and 8 deletions
+6 -8
View File
@@ -1,11 +1,9 @@
namespace std
namespace std.util
namespace util {
import java.util.*
import java.util.*
val Collection<*>.size : Int
get() = size()
val Collection<*>.size : Int
get() = size()
val Collection<*>.empty : Boolean
get() = isEmpty()
}
val Collection<*>.empty : Boolean
get() = isEmpty()