CSC/ECE 517 Fall 2011/ch1 1b tj: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 9: Line 9:


== Need for a collections framework ==
== Need for a collections framework ==
The need for a collections framework is to address the need for reusable collection data structures.
This led to the development of many collections frameworks.


= History =
= History =
= STL vs JCF =
= STL vs JCF =
= Ruby vs Java CF =
= Ruby vs Java CF =

Revision as of 17:55, 6 September 2011

Collections Framework


Introduction

In this wiki, we are going to talk about collections frameworks : their history, the advantages of standard collections frameworks (like Java), compared to that of C++, the advantages of collections built into languages like Ruby compared to those having collections as class libraries. We will illustrate the advantages and compare the differences with some examples.

What is a collections framework?

A collection is a group of objects, and is essentially a container that groups multiple elements into a single unit. A collections framework is a system to represent and manipulate these collections.

Need for a collections framework

The need for a collections framework is to address the need for reusable collection data structures. This led to the development of many collections frameworks.

History

STL vs JCF

Ruby vs Java CF