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.

please include function ai_languages.

static AutoCloseable ai_setLanguages(S... languages) {
  ret ai_setLanguages(asCISet(languages));
}

static AutoCloseable ai_setLanguages(Collection<S> languages) {
  Set<S> oldValue = ai_languages_value!;
  ai_languages_value.set(asCISet(languages));
  ret autoCloseable { ai_languages_value.set(oldValue); };
}

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: 182 / 274
Version history: 5 change(s)
Referenced in: [show references]