Several useful data structure implementations in Java