I have a function which takes as argument a BiSet object. I have the following
public static void(String [] args)
{
BitSet test = new BitSet(15);
Store(test);
}
public void Store (BitSet a)
{
boolean [] temp = new boolean[a.length()]();
System.out.println(temp.length);
}
The problem is that the length of my temp or a is 64. How can I get the actual length (15) of the object instance test that I passed to the function Store?