Here you can find the source of getBitSet()
public static <E> BitSet getBitSet()
//package com.java2s; import java.util.BitSet; public class Main { public static <E> BitSet getBitSet() { return new BitSet(); }/*from w w w .java 2 s. c o m*/ public static <E> BitSet getBitSet(int initialCapacity) { return new BitSet(); } }