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

6
LINES

< > BotCompany Repo | #1030658 - syncNextToLast - synchronized version of nextToLast

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

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

static <A> A syncNextToLast(L<A> l) {
  if (l == null) null;
  synchronized(l) {
    ret nextToLast(l);
  }
}

Author comment

Began life as a copy of #1029661

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1030658
Snippet name: syncNextToLast - synchronized version of nextToLast
Eternal ID of this version: #1030658/1
Text MD5: 55c825bf162e578e8335adc3b1768ff1
Transpilation MD5: 4202376f150e29324178d6ec7ebca53f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-02-20 16:36:26
Source code size: 114 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 3 / 10
Referenced in: [show references]

Formerly at http://tinybrain.de/1030658 & http://1030658.tinybrain.de