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
v1.72版本存在bug,最新版master中依然存在 com.hankcs.hanlp.classification.utilities.CollectionUtility中 public static <K, V extends Comparable> Map<K, V> sortMapByValue(Map<K, V> input, final boolean desc)方法存在bug ArrayList<Map.Entry<K, V>> entryList = new ArrayList<Map.Entry<K, V>>(input.size()); 中的input.size()应该改为input.entrySet()
The text was updated successfully, but these errors were encountered:
a538d07
感谢反馈,已经修复,请参考上面的commit。 如果还有问题,欢迎重开issue。
Sorry, something went wrong.
修正 CollectionUtility.sortMapByValue(java.util.Map<K,V>, boolean) fix #…
db01eb7
…1159
No branches or pull requests
v1.72版本存在bug,最新版master中依然存在
com.hankcs.hanlp.classification.utilities.CollectionUtility中
public static <K, V extends Comparable> Map<K, V> sortMapByValue(Map<K, V> input, final boolean desc)方法存在bug
ArrayList<Map.Entry<K, V>> entryList = new ArrayList<Map.Entry<K, V>>(input.size());
中的input.size()应该改为input.entrySet()
The text was updated successfully, but these errors were encountered: