public static boolean hasNonConflictingAltSet(Collection<BitSet> altsets) {for (BitSet alts : altsets) {if ( alts.cardinality()==1 ) {return true;}}return false;}

public static boolean hasNonConflictingAltSet ( Collection < BitSet > altsets ) { for ( BitSet alts : altsets ) { if ( alts . cardinality ( ) == 1 ) { return true ; } } return false ; }
public static bool HasNonConflictingAltSet(IEnumerable<BitSet> altsets){foreach (BitSet alts in altsets){if (alts.Cardinality() == 1){return true;}}return false;}
