Back to project page wigle-wifi-wardriving-badfork.
The source code is released under:
/* * Copyright (c) 2010-2012, Andrew Carra, Robert Hagemann, Hugh Kennedy * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
If you think the Android project wigle-wifi-wardriving-badfork listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.wigle.wigleandroid; //www . ja va 2 s. co m public final class LatLon { private final float lat; private final float lon; public LatLon( final float lat, final float lon ) { this.lat = lat; this.lon = lon; } public float getLat() { return lat; } public float getLon() { return lon; } @Override public int hashCode() { return ( Float.floatToIntBits(lat) * 17 ) + Float.floatToIntBits(lon); } @Override public boolean equals( Object other ) { if ( other instanceof LatLon ) { LatLon o = (LatLon) other; return lat == o.lat && lon == o.lon; } return false; } }