Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. Vectors > Generic Methods of Vector

9.3. Generic Methods of Vector

Vector methods correspond almost exactly to Array methods, substituting the type parameter (T) wherever elements are concerned—where Array would use *. This makes it easy to switch over code that uses Arrays. Without covering every method, let's look at those that are a bit tricky.

concat(... args):Vector.<T>
push(... args):uint


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial