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

4
LINES

< > BotCompany Repo | #1007371 // quickVisualizeOr - quickVisualize with default if search fails

JavaX fragment (include)

static BufferedImage quickVisualizeOr(S query, S defaultImageID) {
  BufferedImage img = quickVisualize(query);
  ret img != null ? img : loadImage2(defaultImageID);
}

Author comment

Began life as a copy of #1007145

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007371
Snippet name: quickVisualizeOr - quickVisualize with default if search fails
Eternal ID of this version: #1007371/1
Text MD5: 169e716426e84cb790a77497d48551b3
Author: stefan
Category: javax / imaging / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-18 14:05:47
Source code size: 170 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 524
Referenced in: [show references]