Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

26
LINES

< > BotCompany Repo | #1004011 // Test Chronicle Map

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 1400K of libraries. Click here for Pure Java version (45L/1K/2K).

!752

lib 1004010 // Chronicle Map
lib 1004012 // Chronicle Wire
lib 1004013 // Chronicle Bytes
lib 1004014 // Chronicle Core
lib 1004015 // slf4j simple
lib 1004016 // slf4j api

import net.openhft.chronicle.map.*;

sinterface PostalCodeRange {
    int minCode();
    void minCode(int minCode);

    int maxCode();
    void maxCode(int maxCode);
}

p {
  ChronicleMap<CharSequence, PostalCodeRange> cityPostalCodes = ChronicleMapBuilder
    .of(CharSequence.class, PostalCodeRange.class)
    .averageKey("Amsterdam")
    .entries(50_000)
    .create();
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004011
Snippet name: Test Chronicle Map
Eternal ID of this version: #1004011/1
Text MD5: a6229e83f5520f426946aeb2c0e64522
Transpilation MD5: 67a2771a3e4047602eb5e6f7f5d83d53
Author: stefan
Category: javax / databases
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-03 17:45:14
Source code size: 580 bytes / 26 lines
Pitched / IR pitched: No / No
Views / Downloads: 549 / 629
Referenced in: [show references]