Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static boolean isGpsValid(final double longitude, final double latitude) {
return Math.abs(latitude) > 0.001 && Math.abs(longitude) > 0.001;
}
}