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

3
LINES

< > BotCompany Repo | #1035267 // g22_biggestRegionByBounds

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

Libraryless. Click here for Pure Java version (8207L/46K).

static <Img extends WidthAndHeight> IImageRegion<Img> g22_biggestRegionByBounds(Iterable<IImageRegion<Img>> regions) {
  ret highestBy(regions, r -> r.bounds().area());
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1035267
Snippet name: g22_biggestRegionByBounds
Eternal ID of this version: #1035267/1
Text MD5: 8c3547f99bff6ab864ba62772d12343a
Transpilation MD5: 2a7f3d14c8ac8812c321e686577eab5d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-28 16:59:48
Source code size: 172 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 50 / 81
Referenced in: [show references]