We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
自定义的对象怎么排序呢请问
The text was updated successfully, but these errors were encountered:
这个对象一定有个基准值啊,比如 person.getAge,student.getScore()
Sorry, something went wrong.
怎么样像dart一样可以 list.compare((a, b) => a.getAge.compare(b.getAage))
我贴的代码只是展示思想,如果自己要在真实环境用的话还要封装下哦
No branches or pull requests
自定义的对象怎么排序呢请问
The text was updated successfully, but these errors were encountered: