@Test public void testOverlapping () { assertEquals(false, MathUtils.overlapping(1, 2, 3, 4)); assertEquals(true, MathUtils.overlapping(1, 2, 2, 4)); assertEquals(true, MathUtils.overlapping(1, 2, 1, 2)); assertEquals(true, MathUtils.overlapping(2, 4, 1, 2)); assertEquals(false, MathUtils.overlapping(1f, 1.9f, 2f, 4f)); }
public static boolean overlapping (float minA, float maxA, float minB, float maxB) { return minB <= maxA && minA <= maxB; }
MathUtils { public static boolean overlapping (float minA, float maxA, float minB, float maxB) { return minB <= maxA && minA <= maxB; } }
MathUtils { public static boolean overlapping (float minA, float maxA, float minB, float maxB) { return minB <= maxA && minA <= maxB; } protected  MathUtils(); }
MathUtils { public static boolean overlapping (float minA, float maxA, float minB, float maxB) { return minB <= maxA && minA <= maxB; } protected  MathUtils(); static float round3Digits(float x); static boolean overlapping(float minA, float maxA, float minB, float maxB); }
MathUtils { public static boolean overlapping (float minA, float maxA, float minB, float maxB) { return minB <= maxA && minA <= maxB; } protected  MathUtils(); static float round3Digits(float x); static boolean overlapping(float minA, float maxA, float minB, float maxB);  }