data structure descripted with java