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)

static bool cic(Collection<S> l, S s) {
  ret containsIgnoreCase(l, s);
}

ifclass Symbol
static bool cic(Collection<Symbol> l, Symbol s) {
  ret contains(l, s);
}
endif

static bool cic(S[] l, S s) {
  ret containsIgnoreCase(l, s);
}

static bool cic(S s, char c) {
  ret containsIgnoreCase(s, c);
}

static boolean cic(S a, S b) {
  ret containsIgnoreCase(a, b);
}

Author comment

Began life as a copy of #1002148

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, snaazhdonpnp, tslmcundralx, tvejysmllsmz, vouqrxazstgt, 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: 698 / 983
Version history: 2 change(s)
Referenced in: [show references]