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

13
LINES

< > BotCompany Repo | #1023200 // ai_spaceToSpace_es

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (9725L/69K).

1  
static L<ES> ai_spaceToSpace_es(S space1, S space2, Collection<ES> inputs, O... _) {
2  
  ret map(s -> ai_spaceToSpace_es(space1, space2, s, _), inputs);
3  
}
4  
5  
static ES ai_spaceToSpace_es(S space1, S space2, ES input, O... _) {
6  
  S userName = optPar userName(_, 'usery);
7  
  S computerName = optPar computerName(_, 'computery);
8  
  if (eq(space1, 'user) && eq(space2, 'objective))
9  
    ret extTrans ai_spaceToSpace(input, switcheroo_youToName(computerName, switcheroo_iToName(userName, input!)));
10  
  if (eq(space1, 'objective) && eq(space2, 'computer))
11  
      ret extTrans ai_spaceToSpace(input, switcheroo_nameToYou(userName, switcheroo_nameToI(computerName, input!));
12  
    ret input;
13  
}

Author comment

Began life as a copy of #1023190

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023200
Snippet name: ai_spaceToSpace_es
Eternal ID of this version: #1023200/2
Text MD5: e228dbe2534212d2d195107d3c6bee3b
Transpilation MD5: 0b7601d31e26817a6788b7b2caed02e8
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-16 19:49:57
Source code size: 686 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 260 / 371
Version history: 1 change(s)
Referenced in: [show references]