fun String?.plus(other: Any?) : String

This commit is contained in:
Alex Tkachman
2011-10-28 09:25:17 +02:00
parent d52ba949a0
commit d627b5bbb1
5 changed files with 79 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package jet.runtime;
/**
* @author alex.tkachman
*/
public class Intrinsics {
private Intrinsics() {
}
public static String stringPlus(String self, Object other) {
return ((self == null) ? "null" : self) + ((other == null) ? "null" : other.toString());
}
}