Code example for BitSet

Methods: cardinality

0
		return new Alphabet[] { dictionary }; 
	} 
 
	public int cardinality () 
	{ 
		return selectedFeatures.cardinality();
	} 
 
	public BitSet getBitSet ()
	{ 
		return selectedFeatures;
	} 
 
	public void add (Object o)
	{ 
		add (dictionary.lookupIndex(o));
	} 
 
	public void add (int index)
	{ 
		assert (index >= 0);