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

3
LINES

< > BotCompany Repo | #1018248 // lvSet - set LiveValue if it supports it

JavaX fragment (include)

1  
static <A> void lvSet(LiveValue<A> lv, A a) {
2  
  if (lv cast SimpleLiveValue) lv.set(a);
3  
}

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: #1018248
Snippet name: lvSet - set LiveValue if it supports it
Eternal ID of this version: #1018248/3
Text MD5: 3128800e85022b3330337df21aa7960f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-12 02:03:08
Source code size: 91 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 370 / 418
Version history: 2 change(s)
Referenced in: [show references]