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

17
LINES

< > BotCompany Repo | #1014725 - add - add Component to Container, add element to collection, set bit in BitSet

JavaX fragment (include)

static void add(BitSet bs, int i) {
  bs.set(i);
}

static <A> bool add(Collection<A> c, A a) {
  ret c != null && c.add(a);
}

ifndef Android
static void add(Container c, Component x) {
  addToContainer(c, x);
}
endifndef

static long add(AtomicLong l, long b) {
  ret l.addAndGet(b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014725
Snippet name: add - add Component to Container, add element to collection, set bit in BitSet
Eternal ID of this version: #1014725/6
Text MD5: 9ee0c0d31e7d0459a5a271f2b7d2369d
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-07 08:19:33
Source code size: 303 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 359 / 832
Version history: 5 change(s)
Referenced in: [show references]