static <A> A prevInCyclicList(A a, L<A> l) { ret cyclicGet(l, indexOf(l, a)-1); } static <A> A prevInCyclicList(L<A> l, A a) { ret prevInCyclicList(a, l); }
Began life as a copy of #1026438
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: | #1028057 |
Snippet name: | prevInCyclicList |
Eternal ID of this version: | #1028057/2 |
Text MD5: | addc66d12ec56c57474f0f6b6d86f6f2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-14 20:26:57 |
Source code size: | 163 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 163 / 203 |
Version history: | 1 change(s) |
Referenced in: | [show references] |