Reputation: 1037
Is there a specific reason why Java does not have an in-built external sort algorithm implemented ?
Upvotes: 0
Views: 2001
Reputation: 93197
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 :
Upvotes: 2
Reputation: 33406
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.
Upvotes: 1