GitBucket
Toggle navigation
Sign in
Files
Branches
34
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Fork
: 0
nitta-lab-2019
/
CosmosClient
Browse code
hashCodeの式を訂正
AchieveRequests
AreaInformation
AreaInformationUpdate
CompareStoreLocation
GroupListActivity
NotificationClass
RequestListActivity
StoreLocationClass
UpdateRequestList
areaInfo
master
searchNotificationsFix20191114
sendNotification
...
updateAreaInformation
1 parent
bbf1661
commit
6ba7d715367d4b422b4f99451151502b2f88701e
k-morimoto
authored
on 24 Oct 2019
Patch
Unified
Split
Showing
1 changed file
+1
-1
■
■
■■■
app/src/main/java/com/example/cosmosclient/entities/Location.java
Ignore Space
Show notes
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
);
}
}
Show line notes below