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

11
LINES

< > BotCompany Repo | #1013289 // caseInsensitiveComparator_lower

JavaX fragment (include)

static new CIComparator_lower caseInsensitiveComparator_lower_instance;

static Comparator<S> caseInsensitiveComparator_lower() {
  ret caseInsensitiveComparator_lower_instance;
}

sclass CIComparator_lower implements Comparator<S> {
  public int compare(S a, S b) {
    ret compareIgnoreCase_lower(a, b);
  }
}

Author comment

Began life as a copy of #1013127

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013289
Snippet name: caseInsensitiveComparator_lower
Eternal ID of this version: #1013289/1
Text MD5: e767b979a9347e879483d494ea18cfda
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-31 07:40:46
Source code size: 321 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 407 / 419
Referenced in: [show references]