Code example for BitSet

Methods: clear, get

0
		return -1; 
	} 
 
	public void releaseInteger(int integer)
	{ 
		boolean bit = _bitset.get(integer);
		if (bit)
		{ 
			_bitset.clear(integer);
			_integersInUsage--;
		} 
	} 
	 
	public int available() 
	{ 
		return _size - _integersInUsage;
	} 
	 
	public int size() 
	{ 
		return _size;