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

5
LINES

< > BotCompany Repo | #1029409 // sortIntArrayInPlaceWithComparator

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

Libraryless. Click here for Pure Java version (2574L/16K).

static int[] sortIntArrayInPlaceWithComparator(int[] a, Comparator<Int> comparator) {
  if (a == null) null;
  Collections.sort(wrapIntArrayAsList(a), comparator);
  ret a;
}

Author comment

Began life as a copy of #1029069

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1029409
Snippet name: sortIntArrayInPlaceWithComparator
Eternal ID of this version: #1029409/5
Text MD5: 1d249f1c7fc1cccd65586a1b7ce896e6
Transpilation MD5: a8845bc7e1f35a1657181bec88be1185
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-05 17:44:12
Source code size: 178 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 201 / 296
Version history: 4 change(s)
Referenced in: [show references]