Java Tutorials by Dr Heinz Kabutz

In this first episode, we code a simple ArrayList in under 10 minutes in preparation for a more complicated episode 2, where we code a CircularArrayList. We use the Apache Commons Collections test cases to ensure that our code is correct.

This part 1 of 2. In the second part, we will expand this to a CircularArrayList, that allows constant time add and remove at the front of the list.

Java Tutorial 001 - Hacking together our own ArrayList in less than 10 minutes

Previous          Next

Previous          Next

We hope you enjoyed this tutorial. If you did, you will also enjoy our courses. We suggest you start with Extreme Java - Advanced Java, followed by Extreme Java - Concurrency Performance for Java 8.

Would you like to receive our monthly Java newsletter, with lots of interesting tips and tricks that will make you a better Java programmer?