TreeMap Custom Element