MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / createTable

Method createTable

android/src/UsbSerialHelper.java:212–215  ·  view source on GitHub ↗
(long... entries)

Source from the content-addressed store, hash-verified

210 }
211
212 static long[] createTable(long... entries) {
213 Arrays.sort(entries);
214 return entries;
215 }
216
217 static boolean exists(long[] devices, int vendorId, int productId) {
218 return Arrays.binarySearch(devices, createDevice(vendorId, productId)) >= 0;

Callers 1

UsbSerialHelperClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected