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

3
LINES

< > BotCompany Repo | #1033057 // firstAndLast - synonym of firstAndLastElement

JavaX fragment (include)

static <A> Pair<A> firstAndLast(L<A> l) {
  ret firstAndLastElement(l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033057
Snippet name: firstAndLast - synonym of firstAndLastElement
Eternal ID of this version: #1033057/1
Text MD5: 3b7994d63b3e99ad2c5c2efb7115eeac
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-12 15:43:41
Source code size: 73 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 85 / 114
Referenced in: [show references]