MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / __hashUUID

Method __hashUUID

utils-dev/TodoProgression.java:167–171  ·  view source on GitHub ↗

Generates a hashcode from the UUID. @param __uuid The input UUID to hash. @return The hashcode for the UUID. @since 2018/03/29

(UUID __uuid)

Source from the content-addressed store, hash-verified

165 * @since 2018/03/29
166 */
167 static final int __hashUUID(UUID __uuid)
168 {
169 return Long.hashCode(__uuid.getLeastSignificantBits()) ^
170 ~Long.hashCode(__uuid.getMostSignificantBits());
171 }
172
173 /**
174 * Used to keep track of projects.

Callers 1

countMethod · 0.80

Calls 1

hashCodeMethod · 0.95

Tested by

no test coverage detected