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

36
LINES

< > BotCompany Repo | #1000798 // dropFirst function (drop first elements of array or chars of string - synonym of "drop")

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

Libraryless. Click here for Pure Java version (2742L/16K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_s07l1l8ibkurc3jkptukt3u035, 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
{"1000705":"drop function (drop first elements of array, also antiFilter)","1000798":"dropFirst function (drop first elements of array or chars of string - synonym of \"drop\")","1002494":"toList - synonym of asList","1002637":"substring - exception-free (safe) version of String.substring","1027968":"Chain - singly-linked cons list (forward connected)"} 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 #1000705

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1000798
Snippet name: dropFirst function (drop first elements of array or chars of string - synonym of "drop")
Eternal ID of this version: #1000798/9
Text MD5: 30ca02e7874999c51cc740aec90bf1e4
Transpilation MD5: 18c7f72eace428e44ffaf59b2888865f
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-25 21:57:32
Source code size: 857 bytes / 36 lines
Pitched / IR pitched: No / No
Views / Downloads: 1976 / 2486
Version history: 8 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1003099 - takeLast function (take last n elements of a list or characters of a string)
#1005094 - dropFirstAndLast function (drop n first and n last elements of list or string, makes new ArrayList)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036541 - cloneDropFirst function - dropFirst + always return new list
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)