Package org.roaringbitmap
Class ArraysShim
- java.lang.Object
-
- org.roaringbitmap.ArraysShim
-
public class ArraysShim extends Object
Shim over JDK11 methods in Arrays to support multi-release
-
-
Constructor Summary
Constructors Constructor Description ArraysShim()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanequals(short[] x, int xmin, int xmax, short[] y, int ymin, int ymax)Checks if the two arrays are equal within the given range.
-
-
-
Method Detail
-
equals
public static boolean equals(short[] x, int xmin, int xmax, short[] y, int ymin, int ymax)Checks if the two arrays are equal within the given range.- Parameters:
x- the first arrayxmin- the inclusive minimum of the range of the first arrayxmax- the exclusive maximum of the range of the first arrayy- the second arrayymin- the inclusive minimum of the range of the second arrayymax- the exclusive maximum of the range of the second array- Returns:
- true if the arrays are equal in the specified ranges
-
-