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

17
LINES

< > BotCompany Repo | #1020902 // csetAll

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

Libraryless. Click here for Pure Java version (19308L/118K).

1  
static int csetAll(Concept c, O... values) {
2  
  ret cset(c, values);
3  
}
4  
5  
static int csetAll(Iterable<? extends Concept> l, O... values) {
6  
  int n = 0;
7  
  fOr (Concept c : l)
8  
    n += cset(c, values);
9  
  ret n;
10  
}
11  
12  
static int csetAll(Concept c, MapSO values) {
13  
  int n = 0;
14  
  for (S field, O value : values)
15  
    n += cset(c, field, value);
16  
  ret n;
17  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020902
Snippet name: csetAll
Eternal ID of this version: #1020902/4
Text MD5: 9a4c378c39621f6613493c42898729b4
Transpilation MD5: 5ed30106847646487cffa5daaa49b5d3
Author: stefan
Category: javax / concepts
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-13 17:06:35
Source code size: 360 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 542
Version history: 3 change(s)
Referenced in: [show references]