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

8
LINES

< > BotCompany Repo | #1012763 // firstIntegerString

JavaX fragment (include)

static S firstIntegerString(Iterable<S> c) {
  Iterator<S> it = c.iterator();
  while (it.hasNext()) {
    S s = it.next();
    if (isInteger(s)) ret s;
  }
  null;
}

Author comment

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: 467 / 489
Version history: 1 change(s)
Referenced in: [show references]