What’s new (to me)16 Apr 2007 | Comments
I haven’t really coded in depth with Java for awhile now, but now for COMP9318 project 1 I need to do some processing that requires different data structures.
From memory, back then there were only 2 basic data structures that I use over and over again, they are array and vector. But now Java got a comprehensive API for data structures under Collection. Very exciting.
I also found yesterday that I can convert string to integer by simply: String number = 1; int i = (Integer)number;
I remember in the old days, we need to do: String number = 1; int i = (new Integer(number)).toInt();