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

3
LINES

< > BotCompany Repo | #1035486 // toDimension

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

Libraryless. Compilation Failed (9076L/50K).

static Dimension toDimension(WidthAndHeight wh) {
  ret wh == null ?: new Dimension(wh.getWidth(), wh.getHeight());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035486
Snippet name: toDimension
Eternal ID of this version: #1035486/1
Text MD5: bd7a081fb376aa6b5867150b43b092cc
Transpilation MD5: 2f7d6d40d6efd92a9fcc5843850d8eea
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-05-26 21:48:06
Source code size: 119 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 133 / 182
Referenced in: [show references]