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

4
LINES

< > BotCompany Repo | #1026609 // shareAnyTokenIC - do two tokenizations share a token? (ignoring case)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2318L/15K).

sbool shareAnyTokenIC(LS tokA, LS tokB) {
  Set<S> set = asCISet(codeTokens_lazy(tokA));
  ret listAndSetIntersect(codeTokens_lazy(tokB), set);
}

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: #1026609
Snippet name: shareAnyTokenIC - do two tokenizations share a token? (ignoring case)
Eternal ID of this version: #1026609/1
Text MD5: 6045bfd8774130f673cfd4d9e1e0ef55
Transpilation MD5: 06c1cc4f98d8e678c999f9d96196c07a
Author: stefan
Category: javax / tokenizing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 15:03:37
Source code size: 148 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 174
Referenced in: [show references]