Warning: session_start(): open(/var/lib/php/sessions/sess_psj3698agknr2s7868cqps85l7, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
initIMeta [1033770]

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

9
LINES

< > BotCompany Repo | #1033770 // initIMeta

JavaX fragment (include)

static IMeta initIMeta(O o) {
  if (o == null) null;
  if (o cast IMeta) ret o;
  if (o cast JComponent) ret initMetaOfJComponent(o);
  
  // This is not really used. Try to use BufferedImageWithMeta instead
  if (o cast BufferedImage) ret optCast IMeta(o.getProperty("meta"));
  null;
}

Author comment

Began life as a copy of #1033767

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033770
Snippet name: initIMeta
Eternal ID of this version: #1033770/3
Text MD5: 75786b7af3b7b7e950312ca43764345d
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-13 01:38:27
Source code size: 295 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 620 / 656
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)