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

6
LINES

< > BotCompany Repo | #1001586 // renameVM

JavaX fragment (include)

static void renameVM(S newName) {
  L record_list = cast get(getJavaX(), "record_list");
  O android = record_list.get(0); // Should be of class Android3
  set(android, "greeting", "This is a JavaX VM. " + newName);
  print("VM renamed to: " + newName);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1001586
Snippet name: renameVM
Eternal ID of this version: #1001586/1
Text MD5: 5127ebdcf4b856a930aaa596ff723d00
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-11-07 17:30:04
Source code size: 260 bytes / 6 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 757 / 1046
Referenced in: [show references]