Here you can find the source of bitsetCopy(BitSet src, int srcOffset, BitSet dest, int destOffset, int length)
public static void bitsetCopy(BitSet src, int srcOffset, BitSet dest, int destOffset, int length)
//package com.java2s; //License from project: LGPL import java.util.BitSet; public class Main { public static void bitsetCopy(BitSet src, int srcOffset, BitSet dest, int destOffset, int length) { for (int i = 0; i < length; i++) { dest.set(destOffset + i, src.get(srcOffset + i)); }//from w w w .j ava2 s . c om } }