Scratch for Java

Vector2::hashCode()

Returns the hash code of the vector. Vectors that are equal have the same hash code, which is what lets them be used as keys in a HashMap.

Examples

View on GitHub

Syntax

Java

.hashCode()

Return

int

hashCode()

Create Shareable URL

Select Sections