Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmartForest.contains(char c) 方法 #42

Open
finesoft opened this issue Aug 5, 2020 · 1 comment
Open

SmartForest.contains(char c) 方法 #42

finesoft opened this issue Aug 5, 2020 · 1 comment

Comments

@finesoft
Copy link

finesoft commented Aug 5, 2020

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;**
}
@finesoft finesoft changed the title SmartForest.contains(char c) 方法是否有bug? SmartForest.contains(char c) 方法 Aug 5, 2020
@ansjsun
Copy link
Member

ansjsun commented Aug 5, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants