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

9
LINES

< > BotCompany Repo | #1029668 // sortedByFieldAlphanumIC

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

Libraryless. Click here for Pure Java version (2664L/18K).

static <A> L<A> sortedByFieldAlphanumIC(Cl<A> c, final S field) {
  L<A> l = new ArrayList(c);
  sort(l, (a, b) -> cmpAlphanumIC(getString(a, field), getString(b, field)));
  ret l;
}

static <A> L<A> mapMethodLike sortedByFieldAlphanumIC(S field, Cl<A> c) {
  ret sortedByFieldAlphanumIC(c, field);
}

Author comment

Began life as a copy of #1002452

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1029668
Snippet name: sortedByFieldAlphanumIC
Eternal ID of this version: #1029668/1
Text MD5: 92229640382492b4a3a774f3c3af250d
Transpilation MD5: 30a7df75b69519ffb45ccc7aa0e5a56c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-06 20:01:15
Source code size: 309 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 103 / 167
Referenced in: [show references]