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

13
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

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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/5
Text MD5: 4b88b2166ba03d3cb94abea69570b63a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-05-24 14:04:08
Source code size: 234 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 170 / 321
Version history: 4 change(s)
Referenced in: [show references]