Partical data structures for java