sbool doIHavePublicIPs_verbose; static bool doIHavePublicIPs() { for (S ip : getMyIPs()) { bool b = isPublicIP(ip); if (doIHavePublicIPs_verbose) print("IP " + ip + " => " + (b ? "public" : "private")); if (b) true; } false; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004126 |
| Snippet name: | doIHavePublicIPs |
| Eternal ID of this version: | #1004126/1 |
| Text MD5: | fe52ceb80af3483991d8fda3d7e8443c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-07 19:56:02 |
| Source code size: | 261 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 811 / 826 |
| Referenced in: | [show references] |