Data structures implemented in Java