String.hashCode()
Signature
int hashCode (String s1)
Domain
action, condition, query
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. |
Example
int hash = hashCode ("This is a test");
Result is:
hash contains: 1413968325