public static BitSet getAlts(Collection<BitSet> altsets) {BitSet all = new BitSet();for (BitSet alts : altsets) {all.or(alts);}return all;}
public static BitSet GetAlts(IEnumerable<BitSet> altsets){BitSet all = new BitSet();foreach (BitSet alts in altsets){all.Or(alts);}return all;}