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

7
LINES

< > BotCompany Repo | #1031599 // tempEnter

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

Libraryless. Click here for Pure Java version (4620L/26K).

1  
static AutoCloseable tempEnter(O o) {
2  
  ret o == null ?: optCast AutoCloseable(rcallOpt enter(o));
3  
}
4  
5  
static AutoCloseable tempEnter(Enterable o) {
6  
  ret o?.enter();
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031599
Snippet name: tempEnter
Eternal ID of this version: #1031599/6
Text MD5: c4780f350e375283c50947320e1e30de
Transpilation MD5: 8ff11809fdaef236e72deebf875e69fb
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-05 03:14:19
Source code size: 173 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 177 / 266
Version history: 5 change(s)
Referenced in: [show references]