Libraryless. Click here for Pure Java version (2476L/16K).
1 | svoid assertEndsWith(S a, S b) {
|
2 | if (!endsWith(a, b)) |
3 | fail(quote(a) + " does not end with " + quote(b)); |
4 | } |
Began life as a copy of #1003362
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: | #1029391 |
| Snippet name: | assertEndsWith |
| Eternal ID of this version: | #1029391/2 |
| Text MD5: | d14b5a456bb44df22f4c77be9b37c60c |
| Transpilation MD5: | b34d58251768e5decfcd6f30ead63089 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-08-05 11:58:40 |
| Source code size: | 115 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 456 / 569 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |