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

3
LINES

< > BotCompany Repo | #1018572 // widen - cast TArray to wider type

JavaX fragment (include)

static <A, B extends A> TArray<A> widen(TArray<B> t) {
  ret (TArray) t;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018572
Snippet name: widen - cast TArray to wider type
Eternal ID of this version: #1018572/1
Text MD5: 3820a881cd48fb84fb22423d2d4a8369
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-06 04:47:13
Source code size: 76 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 393
Referenced in: [show references]