(IBitSet set)
| 849 | } |
| 850 | |
| 851 | @Override |
| 852 | public boolean xor(IBitSet set) { |
| 853 | if (this == set) { |
| 854 | boolean changed = !isEmpty(); |
| 855 | clear(); |
| 856 | return changed; |
| 857 | } |
| 858 | if (!(set instanceof SparseBitSet other)) { |
| 859 | return super.xor(set); |
| 860 | } |
| 861 | return iterateBlocks(this, other, new XorAction(this)); |
| 862 | } |
| 863 | |
| 864 | private static class XorAction extends ChangeAction { |
| 865 |
nothing calls this directly
no test coverage detected