1 | sbool doIHavePublicIPs_verbose; |
2 | |
3 | static bool doIHavePublicIPs() { |
4 | for (S ip : getMyIPs()) { |
5 | bool b = isPublicIP(ip); |
6 | if (doIHavePublicIPs_verbose) |
7 | print("IP " + ip + " => " + (b ? "public" : "private")); |
8 | if (b) true; |
9 | } |
10 | false; |
11 | } |
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: | 599 / 607 |
Referenced in: | [show references] |