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

3
LINES

< > BotCompany Repo | #1028333 // lastTwo

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

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

static <A> L<A> lastTwo(L<A> l) {
  return takeLast(2, l);
}

Author comment

Began life as a copy of #1003099

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028333
Snippet name: lastTwo
Eternal ID of this version: #1028333/1
Text MD5: e6c0dbadb3152d6d665481706a79ca01
Transpilation MD5: 5a53d2d80f93530e50f7cb177e98dcc0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-06-12 13:03:34
Source code size: 62 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 188 / 276
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)