static void add(BitSet bs, int i) { bs.set(i); } static bool add(Collection c, A a) { ret c != null && c.add(a); }