Data structures written in Java