1 | long gID_1; |
2 | short gID_2; |
3 | |
4 | { setGlobalID(aGlobalIDObj()); }
|
5 | |
6 | void setGlobalID(GlobalID id) {
|
7 | if (id == null) ret with gID_1 = gID_2 = 0; |
8 | gID_1 = globalIDPart1(id); |
9 | gID_2 = globalIDPart2(id); |
10 | } |
11 | |
12 | void setGlobalID(S id) {
|
13 | setGlobalID(toGlobalIDObj(id)); |
14 | } |
15 | |
16 | GlobalID globalID() {
|
17 | ret globalIDFromParts(gID_1, gID_2); |
18 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024467 |
| Snippet name: | Compact Global ID Include |
| Eternal ID of this version: | #1024467/6 |
| Text MD5: | cd22aca82c6c792e8a1ae103e3db2084 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-08-13 13:14:31 |
| Source code size: | 340 bytes / 18 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 417 / 678 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |