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

76
LINES

< > BotCompany Repo | #1031042 // MinimalMap - map consisting just of an unordered object array [O(n) access/put/remove]

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3554L/19K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_bc0hdtp912dir4esikkpnhgvu6, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000619":"get function","1000734":"find - find object in collection with matching fields \/ find in text","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1002108":"empty - extended synonym of isEmpty","1007500":"remove - remove element from list\/collection","1007565":"put - short for Map.put or List.set (if in range)","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1015453":"containsKey","1030157":"entrySet - synonym of _entrySet","1031042":"MinimalMap - map consisting just of an unordered object array [O(n) access\/put\/remove]","1031043":"CompactAbstractMap - two fields less than AbstractMap [i.e. NO fields at all]","1031855":"spliceObjectArray - take out part and put in something new. note: second int is TO, not LENGTH","1031857":"resizeObjectArray - synonym of resizeArray"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1030858

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031042
Snippet name: MinimalMap - map consisting just of an unordered object array [O(n) access/put/remove]
Eternal ID of this version: #1031042/13
Text MD5: f7c46e86c95a8a8b56892e635e2e793a
Transpilation MD5: 7109e2bf87e9ac69633c54366c495066
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-16 06:36:30
Source code size: 1706 bytes / 76 lines
Pitched / IR pitched: No / No
Views / Downloads: 636 / 968
Version history: 12 change(s)
Referenced in: #1031058 - SortedArrayBasedMap - map based on a sorted list [O(log n) access, immutable]
#1034167 - Standard Classes + Interfaces (LIVE, continuation of #1003674)