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

9
LINES

< > BotCompany Repo | #1035538 // typeCheck - synonym of castTo

JavaX fragment (include)

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



static <A> A nuLike typeCheck(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: #1035538
Snippet name: typeCheck - synonym of castTo
Eternal ID of this version: #1035538/1
Text MD5: 5b20727ee2785d61ed43aff43a83ed42
Author: someone
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-10 23:41:35
Source code size: 144 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 145
Referenced in: [show references]