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)

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

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: 162 / 195
Referenced in: [show references]