Wesley said:
Where am I used "inferior"? It was a suggestion, just it.
Where you said "it is better to try ... C", that implies by simple logical
transformation that Java is inferior. If A is better than B, then B is
inferior to A, by definition.
But I think nobody will implement such primitive data structures (like
a linked list) in Java for some real application, if someone does it,
problably will get a worse code than the one implemented in Java API.
The OP mentioned that this was a learning exercise, and already turned down
using API classes and methods for that reason.
Assuming that a particular "primitive data structure" like, say, a red-black
tree or a trie, doesn't already have a suitable implementation in the standard
API, one has little choice but to find a third-party library that does (such
as the Apache Commons Collections Java library), or to write it themselves.
In a real application.
Is there a reason why Java would not be suitable for that?