Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1022306 // fullPhraseCache_contains

JavaX fragment (include)

sbool fullPhraseCache_contains(FullPhraseCache cache, S s) {
  if (cache == null || s == null) false;
  LS tok = javaTokNPunctuation_cached(s);
  ret fullPhraseCache_longestPhraseLength(cache, tok) == l(tok);
}

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: #1022306
Snippet name: fullPhraseCache_contains
Eternal ID of this version: #1022306/2
Text MD5: 768c1940b6694079f3ed4f8807970458
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:16:40
Source code size: 214 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 232 / 242
Version history: 1 change(s)
Referenced in: [show references]