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

3
LINES

< > BotCompany Repo | #1032920 // middleElement

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

Libraryless. Click here for Pure Java version (3798L/22K).

static <A> A middleElement(L<A> l) {
  ret get(l, l(l)/2);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1032920
Snippet name: middleElement
Eternal ID of this version: #1032920/1
Text MD5: 3fa441ab936c7cb3ac55b19c3476dce5
Transpilation MD5: d8abc361d0d7890c59bb5095983da26a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-10 22:31:07
Source code size: 62 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 187
Referenced in: [show references]