public static boolean closer(long v,long prev,long next){
  return Math.abs(v - prev) <= Math.abs(v - next);
}

public static boolean closer ( long v , long prev , long next ) { return Math . abs ( v - prev ) <= Math . abs ( v - next ) ; }
return true if v is closer to prev . return false if v is closer to next . return true if v is the same distance from both .
