Libraryless. Click here for Pure Java version (76L/1K).
sS firstCountingDollarVarNotInSet(Set<S> set) { for (int i = 1; i < Int.MAX_VALUE; i++) { S var = "$" + i; if (!contains(set, var)) ret var; } null; }
Began life as a copy of #1028810
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: | #1028811 |
Snippet name: | firstCountingDollarVarNotInSet |
Eternal ID of this version: | #1028811/1 |
Text MD5: | 76fc4b5a7e8637723329d8c5afb34c3b |
Transpilation MD5: | dbea77de96a218cd777e477085bf076c |
Author: | stefan |
Category: | eleu / nl |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-09 11:27:37 |
Source code size: | 177 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 230 / 313 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1028828 - firstNCountingDollarVarsNotInSet |