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

21
LINES

< > BotCompany Repo | #1003329 - cic - short for containsIgnoreCase

JavaX fragment (include)

1  
static bool cic(Collection<S> l, S s) {
2  
  ret containsIgnoreCase(l, s);
3  
}
4  
5  
ifclass Symbol
6  
static bool cic(Collection<Symbol> l, Symbol s) {
7  
  ret contains(l, s);
8  
}
9  
endif
10  
11  
static bool cic(S[] l, S s) {
12  
  ret containsIgnoreCase(l, s);
13  
}
14  
15  
static bool cic(S s, char c) {
16  
  ret containsIgnoreCase(s, c);
17  
}
18  
19  
static boolean cic(S a, S b) {
20  
  ret containsIgnoreCase(a, b);
21  
}

Author comment

Began life as a copy of #1002148

download  show line numbers  debug dex   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003329
Snippet name: cic - short for containsIgnoreCase
Eternal ID of this version: #1003329/3
Text MD5: 85da4eb686f72be9f97303fd9a1699d4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-10 06:40:05
Source code size: 388 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 684
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003329 & http://1003329.tinybrain.de