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

3
LINES

< > BotCompany Repo | #1034175 // dimensionPlus

JavaX fragment (include)

static Dimension dimensionPlus(int w, int h, Dimension d) {
  ret d == null ?: new Dimension(d.width+w, d.height+h);
}

Author comment

Began life as a copy of #1034174

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034175
Snippet name: dimensionPlus
Eternal ID of this version: #1034175/1
Text MD5: 69b621c04d163c0a9523de42f06f57f5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-25 20:41:04
Source code size: 120 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 163
Referenced in: [show references]