Code example for BitSet

Methods: clone

0
    return new FeatureSelection (dictionary, included);
  } 
 
	public Object clone ()
	{ 
		return new FeatureSelection (dictionary, (BitSet)selectedFeatures.clone());
	} 
 
	public Alphabet getAlphabet () 
	{ 
		return dictionary;
	} 
	 
	public Alphabet[] getAlphabets () {  
		return new Alphabet[] { dictionary }; 
	} 
 
	public int cardinality () 
	{ 
		return selectedFeatures.cardinality();
	}