BitSet flip(0, numbits); - Java java.util

Java examples for java.util:BitSet

Description

BitSet flip(0, numbits);

Demo Code


//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
    }
}

Related Tutorials