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

8
LINES

< > BotCompany Repo | #1028190 // applyUntilSame

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

Transpiled version (2479L) is out of date.

static <A> A lambdaMapLike applyUntilSame(IF1<A> f, A o) {
  while licensed {
    A o2 = f.get(o);
    if (o == o2) break;
    o = o2;
  }
  ret o;
}

Author comment

Began life as a copy of #1014060

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028190
Snippet name: applyUntilSame
Eternal ID of this version: #1028190/2
Text MD5: 5631ce3aeaf65d86d33e6effaa5938ec
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-26 11:42:05
Source code size: 156 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 253 / 294
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)