[Home]History of Beginners

Robo Home | Changes | Preferences | AllPages


Revision 64 . . August 25, 2007 19:20 EST by Aziz
Revision 63 . . August 24, 2007 21:38 EST by Chase-san [comment]
  

Difference (from prior major revision) (no other diffs)

Changed: 117c117,121
*** I know, well cept the part of Vector being left over from C++ (there was never a Vector class in c++ that I remember), I was just explaining why some people use[d] it. I personally use just plain List and initialize it with an ArrayList. --Chase-san
*** I know, well cept the part of Vector being left over from C++ (there was never a Vector class in c++ that I remember), I was just explaining why some people use[d] it. I personally use just plain List and initialize it with an ArrayList. --Chase-san
*** Of course there is a vector class is c++! It's part of the Standard Template Library (STL):

#include <vector>
*** And using a member variable of the interface (such as List), and declaring it as an implementation (ArrayList) is the preferred way to use the Collections framework. That way you can change it to a LinkedList, or another List implementation without breaking any of your code.

Robo Home | Changes | Preferences | AllPages
Search: