Libraryless. Click here for Pure Java version (3824L/24K).
svoid test_findOneArgumentPatterns() { LLS toks = lambdaMap splitAtSpaceTok(tlft([[ kgopkgorkgorkogrkkkbla makes sense heldfdfdkfodkfodfkodlo makes sense but 12345! makes no sense but b1lubb makes no sense ]])); MultiSet<S> patterns = findOneArgumentPatterns(toks); assertEquals(litcimap("* makes sense" := 2, "but * makes no sense" := 2), multiSetToMap(patterns)); }
Began life as a copy of #1028730
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: | #1028731 |
Snippet name: | test_findOneArgumentPatterns |
Eternal ID of this version: | #1028731/2 |
Text MD5: | e1a8c0f497f403dd330bf3cc2c9137eb |
Transpilation MD5: | b224052853a79b6e653465e2494334bc |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-06 16:25:40 |
Source code size: | 404 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 250 / 338 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |