wangyuheng's Blog

time for change

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Table of Contents
  • Overview
  1. 1. 现象
  2. 2. 原因
  3. 3. 解决方法
wangyuheng

wangyuheng

天行健 男儿当立志!
110 posts
38 categories
103 tags
GitHub E-Mail

Set集合通过Comparable 排序不好用

Posted on 2016-09-04 Edited on 2016-12-09 In bug

转载请注明出处WangYuheng’s Blog

现象

Set集合通过Comparable 排序不好用

原因

HashSet不能排序

解决方法

可以改为TreeSet

Welcome to my other publishing channels
WeChat
# java # bug
ie8不兼容stopPropagation
JS Uncaught RangeError: Maximum call stack size exceeded
辽ICP备16008709号-1
© 2023 wangyuheng
Powered by Hexo & NexT.Gemini
0%