Skip to content

Commit b89b5b0

Browse files
PropertyFlags: update internal docs for UNSIGNED usage.
1 parent da6359d commit b89b5b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

objectbox-java/src/main/java/io/objectbox/model/PropertyFlags.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ private PropertyFlags() { }
7777
*/
7878
public static final int INDEX_HASH64 = 4096;
7979
/**
80-
* Unused yet: While our default are signed ints, queries and indexes need do know signing info.
81-
* Note: Don't combine with ID (IDs are always unsigned internally).
80+
* In Java (and Kotlin) integers are stored as signed by default,
81+
* but queries and indexes may choose to treat them as unsigned when using this flag.
82+
* Note: Don't combine with ID, they are always unsigned internally.
8283
*/
8384
public static final int UNSIGNED = 8192;
8485
}

0 commit comments

Comments
 (0)