Quantcast
Viewing latest article 16
Browse Latest Browse All 36

Answer by Ajax for When to use LinkedList over ArrayList in Java?

I know this is an old post, but I honestly can't believe nobody mentioned that LinkedList implements Deque. Just look at the methods in Deque (and Queue); if you want a fair comparison, try running LinkedList against ArrayDeque and do a feature-for-feature comparison.


Viewing latest article 16
Browse Latest Browse All 36

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>