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)

static <A> A nuLike checkCast(Class<A> c, O o) {
  ret castTo(c, o);
}



static <A> A nuLike checkCast(O o, Class<A> c) {
  ret castTo(o, c);
}

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: 137 / 146
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)