java organizational level tree structure

https://blog.csdn.net/qq_36004521/article/details/81482268

list constructed by children of this article, if the TreeSet, will have to rewrite CompareTo and equal, otherwise report

can not be cast to java.lang.Comparable error, the following links explain this error very detailed blog

https://blog.csdn.net/qq_23195583/article/details/44174181

Guess you like

Origin blog.csdn.net/weixin_42043101/article/details/86223182