Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ublic static final boolean isNorthLatitude(Double argValue)
  2. {
  3. if(GpxUtils.isValidLatitudeValue(argValue) == true)
  4. {
  5. if(argValue > 0.0)
  6. {
  7. return true;
  8. }
  9.  
  10. else
  11. {
  12. return false;
  13. }
  14. }
  15.  
  16. else
  17. {
  18. IllegalArgumentException toThrow = new IllegalArgumentException
  19. (" The latitude value being tested was not valid.");
  20.  
  21. throw toThrow;
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement