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

11
LINES

< > BotCompany Repo | #1023302 // ai_setLanguages

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

Transpiled version (2023L) is out of date.

1  
please include function ai_languages.
2  
3  
static AutoCloseable ai_setLanguages(S... languages) {
4  
  ret ai_setLanguages(asCISet(languages));
5  
}
6  
7  
static AutoCloseable ai_setLanguages(Collection<S> languages) {
8  
  Set<S> oldValue = ai_languages_value!;
9  
  ai_languages_value.set(asCISet(languages));
10  
  ret autoCloseable { ai_languages_value.set(oldValue); };
11  
}

Author comment

Began life as a copy of #1017357

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: #1023302
Snippet name: ai_setLanguages
Eternal ID of this version: #1023302/6
Text MD5: 8f4c2df6be9cc10e8904f7486c625fcb
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-24 19:46:10
Source code size: 361 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 265 / 383
Version history: 5 change(s)
Referenced in: [show references]