MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / hashCode

Method hashCode

CodenameOne/src/com/codename1/maps/Coord.java:146–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144
145 /// {@inheritDoc}
146 @Override
147 public int hashCode() {
148 int hash = 5;
149 hash = 17 * hash + (int) (Double.doubleToLongBits(this.longitude) ^ (Double.doubleToLongBits(this.longitude) >>> 32));
150 hash = 17 * hash + (int) (Double.doubleToLongBits(this.latitude) ^ (Double.doubleToLongBits(this.latitude) >>> 32));
151 return hash;
152 }
153
154 /// Returns true if this is a projected Coordinate
155 ///

Callers

nothing calls this directly

Calls 1

doubleToLongBitsMethod · 0.95

Tested by

no test coverage detected