public static boolean equal(double a,double b){
  return (Math.abs(a - b) < EPSILON);
}

public static boolean equal ( double a , double b ) { return ( Math . abs ( a - b ) < EPSILON ) ; }
returns if two double values are equal to within epsilon .
