1 | static IMeta initIMeta(O o) { |
2 | if (o == null) null; |
3 | if (o cast IMeta) ret o; |
4 | if (o cast JComponent) ret initMetaOfJComponent(o); |
5 | |
6 | // This is not really used. Try to use BufferedImageWithMeta instead |
7 | if (o cast BufferedImage) ret optCast IMeta(o.getProperty("meta")); |
8 | null; |
9 | } |
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: | 160 / 196 |
Version history: | 2 change(s) |
Referenced in: | [show references] |