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

6
LINES

< > BotCompany Repo | #1033841 // joinAreas

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

Libraryless. Click here for Pure Java version (4574L/25K).

1  
static Area joinAreas(Cl<? extends Shape> l) {
2  
  if (empty(l)) null;
3  
  new Area a;
4  
  for (b : l) a.add(toArea(b));
5  
  ret a;
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033841
Snippet name: joinAreas
Eternal ID of this version: #1033841/4
Text MD5: 4199a59cd766a4d57bc728854dc97af2
Transpilation MD5: 3f7a132b6d96f1c34c12f6663790d457
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-07 00:01:15
Source code size: 130 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 116 / 189
Version history: 3 change(s)
Referenced in: [show references]