Link Details

The word collection simply means a group of objects that should be kept together. Unfortunately, Visual Basic also uses this term for its specific Collection Class, which can lead to some confusion. The simplest type of collection is an array. An array stores data values or references to objects in a simple block of memory with one entry directly following another. The Array Class provides some special methods for manipulating arrays, such as reversing, sorting, or searching an array. The Collection Class provides a few specific features for working with its group of objects. It enables you to add an item to the Collection, optionally specifying a key for the item. You can then search for the item or remove the item using its key or its index in the Collection.

Posted by macosxnerd101  |   Nov 03 2013 / 10:45

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Recommended Links

Written by: Ryan Knight
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Play
  3. Akka
  4. Debugging JavaScript
  5. Design Patterns
  1. Apache Hadoop
  2. REST
  3. Java
  4. Git
  5. Java Performance
Connect with DZone