|
1 | 1 | /*
|
2 |
| - * Copyright 2017 ObjectBox Ltd. All rights reserved. |
| 2 | + * Copyright 2017-2025 ObjectBox Ltd. All rights reserved. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
16 | 16 |
|
17 | 17 | package io.objectbox;
|
18 | 18 |
|
| 19 | +import java.io.Closeable; |
| 20 | +import java.util.List; |
| 21 | + |
| 22 | +import javax.annotation.Nullable; |
| 23 | +import javax.annotation.concurrent.NotThreadSafe; |
| 24 | + |
19 | 25 | import io.objectbox.annotation.apihint.Beta;
|
20 | 26 | import io.objectbox.annotation.apihint.Internal;
|
21 | 27 | import io.objectbox.internal.CursorFactory;
|
22 | 28 | import io.objectbox.relation.ToMany;
|
23 | 29 |
|
24 |
| -import javax.annotation.Nullable; |
25 |
| -import javax.annotation.concurrent.NotThreadSafe; |
26 |
| -import java.io.Closeable; |
27 |
| -import java.util.List; |
28 |
| - |
29 | 30 | @SuppressWarnings({"unchecked", "SameParameterValue", "unused", "WeakerAccess", "UnusedReturnValue"})
|
30 | 31 | @Beta
|
31 | 32 | @Internal
|
@@ -115,6 +116,9 @@ protected static native long collectStringList(long cursor, long keyIfComplete,
|
115 | 116 | );
|
116 | 117 |
|
117 | 118 | // INTEGER ARRAYS
|
| 119 | + protected static native long collectBooleanArray(long cursor, long keyIfComplete, int flags, |
| 120 | + int propertyId, @Nullable boolean[] value); |
| 121 | + |
118 | 122 | protected static native long collectShortArray(long cursor, long keyIfComplete, int flags,
|
119 | 123 | int propertyId, @Nullable short[] value);
|
120 | 124 |
|
|
0 commit comments