static bool syncRemove(Collection c, A b) { if (c == null) false; synchronized(c) { ret c.remove(b); } }