1 | static <A> A firstWithShortClassName(Iterable<A> l, S name) { |
2 | if (l != null) for (A a : l) |
3 | if (shortClassNameIs(a, name)) |
4 | ret a; |
5 | null; |
6 | } |
7 | |
8 | static <A> A firstWithShortClassName(A[] l, S name) { |
9 | if (l != null) for (A a : l) |
10 | if (shortClassNameIs(a, name)) |
11 | ret a; |
12 | null; |
13 | } |
Began life as a copy of #1016226
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017871 |
Snippet name: | firstWithShortClassName |
Eternal ID of this version: | #1017871/2 |
Text MD5: | b454031916a138fd510a9f81652077c1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-04 04:26:53 |
Source code size: | 306 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 374 / 420 |
Version history: | 1 change(s) |
Referenced in: | [show references] |