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

17
LINES

< > BotCompany Repo | #1000532 // LUse (learner)

JavaX fragment (include)

static class LUse extends LearnerImpl {
  Function f;

  *(Function *f) {}
  
  public void processInOut(Object in, Object out) {
  }
  
  public Object processIn(Object in) {
    in = f.process(in);
    return in;
  }
  
  public void toJava(Code code) {
    f.toJava_process(code);
  }
}

Author comment

Began life as a copy of #1000511

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

Comments [hide]

ID Author/Program Comment Date
530 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
static class LUse extends LearnerImpl {
Function f;

*(Function *f) {}

public void processInOut(Object in, Object out) {
}

public Object processIn(Object in) {
in = f.process(in);
return in;
}

public void toJava(Code code) {
f.toJava_process(code);
}
}

}}
2015-08-18 18:55:53  delete 
527 #1000604 (pitcher) 2015-08-18 18:55:35

add comment

Snippet ID: #1000532
Snippet name: LUse (learner)
Eternal ID of this version: #1000532/1
Text MD5: dc2f7e68fc02e22919a6fe380ad4a32e
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-18 18:55:35
Source code size: 307 bytes / 17 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 1116 / 1749
Referenced in: [show references]