Libraryless. Click here for Pure Java version (2724L/16K).
static LS assertStringList(O o) { if (!o instanceof L) fail("Not a list: " + className(o)); L l = cast o; for (O x : l) if (!x instanceof S) fail("Not a string: " + className(x)); ret l; }
Began life as a copy of #1014366
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020151 |
Snippet name: | assertStringList - actually checks every element |
Eternal ID of this version: | #1020151/4 |
Text MD5: | 3214af931308782195fa455124f1f6f3 |
Transpilation MD5: | 805a91515fa01ae62281c1088067c6ba |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-15 18:18:05 |
Source code size: | 213 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 312 / 386 |
Version history: | 3 change(s) |
Referenced in: | [show references] |