Java trees library