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

3
LINES

< > BotCompany Repo | #1035596 // biggestRegionsFirst

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

Libraryless. Click here for Pure Java version (11077L/62K).

static <Img extends WidthAndHeight> L<IImageRegion<Img>> biggestRegionsFirst(Cl<IImageRegion<Img>> l) {
  ret sortByCalculatedFieldDesc(l, r -> r.numberOfPixels());
}

Author comment

Began life as a copy of #1010729

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035596
Snippet name: biggestRegionsFirst
Eternal ID of this version: #1035596/2
Text MD5: 4ab11d9f8e009de58acb52115a3515f1
Transpilation MD5: 06b2ed95fd2351186fb2856325dc4a24
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-24 09:48:42
Source code size: 168 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 115 / 167
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1035618 - biggestSSIsFirst