NLPchina/nlp-lang

SmartForest.contains(char c) 方法

finesoft opened this issue · 1 comments

public boolean contains(char c) {
	if (this.branches == null) {
		return false;
	}
	**return Arrays.binarySearch(this.branches, c) > -1; // 是否要改为 return Arrays.binarySearch(this.branches, new SmartForest<T>(c)) > -1;**
}