String.hashCode()

This commit is contained in:
Alexander Udalov
2012-06-01 17:59:28 +04:00
parent a5801198d5
commit 88ecb2a3c9
+2
View File
@@ -10,6 +10,8 @@ public inline fun String.lastIndexOf(ch: Char) : Int = (this as java.lang.String
public inline fun String.equalsIgnoreCase(anotherString: String) : Boolean = (this as java.lang.String).equalsIgnoreCase(anotherString)
public inline fun String.hashCode() : Int = (this as java.lang.String).hashCode()
public inline fun String.indexOf(str : String) : Int = (this as java.lang.String).indexOf(str)
public inline fun String.indexOf(str : String, fromIndex : Int) : Int = (this as java.lang.String).indexOf(str, fromIndex)