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).

static int csetAll(Concept c, O... values) {
  ret cset(c, values);
}

static int csetAll(Iterable<? extends Concept> l, O... values) {
  int n = 0;
  fOr (Concept c : l)
    n += cset(c, values);
  ret n;
}

static int csetAll(Concept c, MapSO values) {
  int n = 0;
  for (S field, O value : values)
    n += cset(c, field, value);
  ret n;
}

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: 303 / 410
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)