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

9
LINES

< > BotCompany Repo | #1036233 // checkCast - synonym of castTo

JavaX fragment (include)

1  
static <A> A nuLike checkCast(Class<A> c, O o) {
2  
  ret castTo(c, o);
3  
}
4  
5  
6  
7  
static <A> A nuLike checkCast(O o, Class<A> c) {
8  
  ret castTo(o, c);
9  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036233
Snippet name: checkCast - synonym of castTo
Eternal ID of this version: #1036233/1
Text MD5: 1b0bd7105b8f5b7fcd65510ebdac7bdd
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-26 22:26:00
Source code size: 144 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 146
Referenced in: [show references]