Searched refs:border2 (Results 1 - 1 of 1) sorted by relevance

/openjdk9/jdk/test/java/awt/GridLayout/LayoutExtraGaps/
H A DLayoutExtraGaps.java176 * Given two borders border1 and border2 check if they are equal.
179 * @param border2 the other border being compared
180 * @return true if border1 and border2 are equal to each other (i.e.
184 public static boolean areBordersEqual(double border1, double border2) { argument
185 return Math.abs(border1 - border2) <= 1;

Completed in 76 milliseconds