static FullPhraseCache makeFullPhraseCache(Iterable<S> phrases) { new FullPhraseCache cache; if (phrases != null) for (S s : phrases) cache.add(s); ret cache; } static FullPhraseCache makeFullPhraseCache(S... phrases) { ret makeFullPhraseCache(asList(phrases)); }
Began life as a copy of #1022269
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022308 |
Snippet name: | makeFullPhraseCache - phrases should be unique |
Eternal ID of this version: | #1022308/3 |
Text MD5: | 466fcbfb7745c1f31e5ca2052b43941d |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-13 05:42:22 |
Source code size: | 285 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 321 / 331 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |