Libraryless. Click here for Pure Java version (3044L/19K).
1 | static int parseFirstIntOrMinus1(String s) { |
2 | return parseIntOrMinus1(jextract("<int>", s)); |
3 | } |
4 | |
5 | static int parseFirstIntOrMinus1(Iterable<S> l) { |
6 | ret parseIntOrMinus1(firstIntegerString(l)); |
7 | } |
Began life as a copy of #1004323
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: | #1028645 |
Snippet name: | parseFirstIntOrMinus1 - parse first int in string (or return -1) |
Eternal ID of this version: | #1028645/1 |
Text MD5: | b70b76ed7987cbe4d8fb178545b7202c |
Transpilation MD5: | ea21be37a3d2dabcccf1c940d4981326 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-01 12:00:01 |
Source code size: | 201 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 256 |
Referenced in: | [show references] |