Download Jar. Libraryless. Click here for Pure Java version (1033L/8K).
1 | !7 |
2 | |
3 | p { |
4 | assertTrue(tok_isSingleTypeArg(javaTok(print("<A>")), 1)); |
5 | assertFalse(tok_isSingleTypeArg(javaTok(print("<A, B>")), 1)); |
6 | assertTrue(tok_isSingleTypeArg(javaTok(print("<A<A>>")), 1)); |
7 | assertFalse(tok_isSingleTypeArg(javaTok(print("<A<A>, B>")), 1)); |
8 | print("OK"); |
9 | } |
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: | #1012165 |
Snippet name: | Test tok_isSingleTypeArg (OK) |
Eternal ID of this version: | #1012165/3 |
Text MD5: | a26dab29ddcee3e843943132d09e3339 |
Transpilation MD5: | 23d3ced19786264bc59fcb2f5b090b91 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-23 10:25:56 |
Source code size: | 290 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 488 / 1077 |
Version history: | 2 change(s) |
Referenced in: | [show references] |