Java examples for java.util:BitSet
BitSet flip(0, numbits);
//package com.java2s; import java.util.BitSet; public class Main { /** bs.flip(0, numbits); */ public static void complementBitSet(BitSet bs, int numbits) { bs.flip(0, numbits);//from ww w. j a v a2 s . co m } }