1 | static S firstIntegerString(Iterable<S> c) { |
2 | Iterator<S> it = c.iterator(); |
3 | while (it.hasNext()) { |
4 | S s = it.next(); |
5 | if (isInteger(s)) ret s; |
6 | } |
7 | null; |
8 | } |
Began life as a copy of #1012762
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012763 |
Snippet name: | firstIntegerString |
Eternal ID of this version: | #1012763/2 |
Text MD5: | 7ca54e4163b26af2be4c98269ff2ff90 |
Author: | stefan |
Category: | javax / collections |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-11 22:37:16 |
Source code size: | 173 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 469 / 492 |
Version history: | 1 change(s) |
Referenced in: | [show references] |