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

3
LINES

< > BotCompany Repo | #1021450 // isCISet_gen - is collection a case-insensitive set? - allows sets from other realms

JavaX fragment (include)

1  
sbool isCISet_gen(Iterable<S> l) {
2  
  ret l instanceof TreeSet && className(((TreeSet) l).comparator()).contains("CIComp");
3  
}

Author comment

Began life as a copy of #1018114

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: #1021450
Snippet name: isCISet_gen - is collection a case-insensitive set? - allows sets from other realms
Eternal ID of this version: #1021450/2
Text MD5: 4fbd24a7b5844e83fd964f5762fd8db5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-13 00:03:06
Source code size: 126 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 242 / 287
Version history: 1 change(s)
Referenced in: [show references]