Libraryless. Click here for Pure Java version (4611L/26K).
static int mapMethodLike findIntArg(S name, S[] args, int defaultValue) { int i = indexOfIC(args, name); ret i >= 0 && i+1 < l(args) ? parseInt(args[i+1]) : defaultValue; }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033546 |
Snippet name: | findIntArg |
Eternal ID of this version: | #1033546/2 |
Text MD5: | aa16fd59b3aece90f1dc0468a5f442e0 |
Transpilation MD5: | 60f525b5ca10678286960801d309f1ab |
Author: | stefan |
Category: | javax / command line |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-11-02 03:24:35 |
Source code size: | 179 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 168 / 246 |
Version history: | 1 change(s) |
Referenced in: | [show references] |