External Sort Java

帅比萌擦擦* 提交于 2019-12-25 11:56:40

问题


Is there a specific reason why Java does not have an in-built external sort algorithm implemented ?


回答1:


Because the JDK contains only the mostly used components.

It is the same thing with any external framework content. Why isn't it directly built-in ?

Simply because it doesn't need to be built-in. And because it's not developed by the same people.

But still you can use an external framework, or a library which will help you with that.


Resources :

  • code.google.com - externalsortinginjava



回答2:


I don't think any modern language has external sorting built-in. Usually, it's just not part of the scope of a programming language. Also, think of embedded (or specialized) devices that have limited (or no) external memory, only RAM. Language features such as external sorting would be purposeless.



来源:https://stackoverflow.com/questions/3740599/external-sort-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!