Guest User

Untitled

a guest
Jul 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. public Position moveSouthWest(Position other) {
  2. return from(Math.min(lat, other.lat), Math.min(lon, other.lon));
  3. }
  4.  
  5. public Position moveNorthEast(Position other) {
  6. return from(Math.max(lat, other.lat), Math.max(lon, other.lon));
  7. }
Add Comment
Please, Sign In to add comment