String
.
hashCode()
Signature
int hashCode (String s1)
Domain
action, condition
Description
Returns a hash code for the passed String.
Parameters
Name
Type
Description
s1
String
A String to compute a hashcode for.
Returns
Type
Description
int
A hash code for the passed String.
Cautions
none
Example
int hash = hashCode ("This is a test");
Result is:
hash contains: 1413968325