static void assertStartsWith(L a, L b) { if (!startsWith(a, b)) fail(a + " does not start with " + b); } static void assertStartsWith(S a, S b) { if (!startsWith(a, b)) fail(quote(a) + " does not start with " + quote(b)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003362 |
Snippet name: | assertStartsWith |
Eternal ID of this version: | #1003362/3 |
Text MD5: | 60653add6466fe9d03f9c322027793fd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-02 09:28:45 |
Source code size: | 244 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 768 / 773 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014787 - assertStartsWith_rev - reversed arguments #1014788 - assertListStartsWith #1029391 - assertEndsWith |