-
myString::charAt
would take anint
and return achar
, and might be used for any lambda that works that way. It translates, essentially, toindex -> myString.charAt(index)
. -
String::length
would take aString
and return anint
. It translates, essentially, tostring -> string.length()
. -
String::charAt
would translate to(string, index) -> string.charAt(index)
.