hashCodeの式を訂正
1 parent bbf1661 commit 6ba7d715367d4b422b4f99451151502b2f88701e
k-morimoto authored on 24 Oct 2019
Showing 1 changed file
View
2
■■■
app/src/main/java/com/example/cosmosclient/entities/Location.java
return longitude;
}
 
public int hashCode(){
return (int)((latitude+90)/0.1)+(int)((longitude*0.1)*1800);
return (int)((latitude+90)/0.1)+(int)((longitude/0.1)*1800);
}
}