Our website is a unique platform where students can share their papers in a matter of giving an example of the work to be done. If you find papers
matching your topic, you may use them only as an example of work. This is 100% legal. You may not submit downloaded papers as your own, that is cheating. Also you
should remember, that this work was alredy submitted once by a student who originally wrote it.
The paper "Java Collections Framework Analysis" focuses on the critical analysis of Java Collections Framework (JFC), a coupled set of classes and interfaces that implement a commonly reusable collection of data structures. It provides interfaces that define collections that implement the interfaces…
Download full paperFile format: .doc, available for editing
Extract of sample "Java Collections Framework Analysis"
Java Collections Framework API
Java Collections Framework API
Java Collections Framework (JFC) is a coupled set of classes and interfaces that implement commonly reusable collection of data structures. It provides the interfaces that define collections that implement the interfaces. A collection in this context is sometimes referred to as a container since it groups many elements into a single unit. A collection framework is a unified architecture for representing and manipulating collections. A framework comprises of interfaces which are basically a hierarchy of ADTS, implementations and algorithms which are the methods used in the performance of computations including conducting searches and sorting on objects that implement collection interfaces (Becker, 1998).
History
Since JDK 1.0, the java language has undergone many changes which have included introduction of new classes and standards to the standard library. Before the development of JDK 1.2, there existed no collection framework. The older versions however included data structure classes. Java objects were ordinarily grouped through the array, the vector and the hashtable classes, these were difficult to extend and therefore and, they did not implement a standard member interface (Roseindia.net, 1998). In order to solve the problem of inability to implement standard member interface, several frameworks were implemented. The newly implemented structures solved the problem through the introduction collection data structures as independent frameworks within the suit. Development of collections framework is credited to Joshua Bloch. He based his work on the ideas from Doug Lea who had developed a popular and functional useable collections package and ObjectSpace Genric Collection Library.
The Java Development Kit was released in early 1997 as JDK 1.1 it consisted of inner classes addition and AWT event model retooling as some of the main improvements to the programme. Another version, the J2SE 1.2 was released in 1992, it was in this version that the Sun’s JVM and a JIT compiler wer used for the very first time and the collection frameworks, reflections and Java IDL underwent considerable editing. In the year 2000, J2SE was announced, in this version HotSpot JVM, JNDI, JPDA and JavaSound had undergone many alterations. J2SE 1.4 was released in 2002 with a lot changes in the regular expressions that were found in J2SE 1.3. Java SE 6 was announced in December 2006 under the code name Mustang and it improves on the functionality of coding languages. It also has Visual Basic support as well as database manager.
Basic Principles and Benefits (Dietel & Dietel, 2009)
Principles
Java collections framework comes with predesigned interfaces and classes. These enable it to store and manage data groups in a singular unit. In order to enable to enable collection manipulation and representation, the framework has a unified architecture and it is also designed to deal with algorithms and interfaces. There is a number of collections included in a collection framework. These include; implementations which are data structures that can be used in more than one instance, interfaces, which are abstract data types which play the role of collection representation. The interfaces that deal with object oriented programming languages make it possible for the collections to be managed independently. Other collections in the framework include general purpose implementations which are the first implementations in a collection. Algorithms are other collections which are polymorphic collections useable in different collection interfaces (Morin, 2012). The other collections involved include infrastructure and array utilities whose use is for arrays of reference objects and also in primitive objects. Java collections framework API enables a user to make copies of the collections found in the framework. These copies are made through the use of a void constructor which helps in the creation of an copy of a collection of the targeted implementation type. Some Java APIs are free and have a bidirectional map implementation; a good example of these is Google’s guava libraries. The use of standard interfaces eases the process of passing collection and returning. The Hashtable and Vector added new collection implementations, e.g. LinkedList, ArrayList, HashMap, TreeSet, Map etc. Both Set (the practical example is shown within the Figure 1 beneath) and List are acting in Collection interface. The List provides many accessors. If to use an existing already implementation, the code will be shorter and easier to download. Each collection nowadays goes back to an Iterator (type of Enumeration). The bi-directional iteration and updating are now possible. The synchronized versions of collections are dealing with the static class Collections. They are also very useful when undesired changes to collections are happening. Multithreaded programs need a synchronized version of a collection (Oracle, u.d)
Benefits
Java collections framework API has many benefits some of them are:
It increases the speed and quality of programs through the provision of high performance and high quality implementations of algorithms.
It makes programming easier by way of providing useful data structures and algorithms. It allows the programmer to avoid spending a lot of time and effort on low level foundational activities and concentrate on the more important parts of the program.
It allows APIs that were written separately to operate seamlessly.
It makes it easier to learn how to use new APIs
It makes it possible for software to be reused since new data structures that conform to standard collection interfaces are naturally reusable (Deitel & Deitel, 2009).
Comparison of Java’s collections framework to C++
Apart from Java Collections Framework, there are other collection frameworks which are in the market the most popular of which include C++, Standard Template Library (STL) and Smalltalk’s collection hierarchy (Robert, 1997).
There are some common concepts between the two collection frameworks including the listing of sequence values in an order specified by user. Both of them set the collection of values without the need for duplicates. Both collection frameworks also have association lists or look up tables. When a need for storage and use of a collection of values both Java and C++ provide libraries to help with Java providing a collections framework and C++ providing a standard template library. In both instances, the libraries provide general, useful and efficient implementations of common kinds of collections (Robert, 1997).
References
Becker, D. 1998, Get started with the Java Collections Framework, Retrieved 14 May 2013 http://www.javaworld.com/javaworld/jw-11-1998/jw-11-collections.html?page=5
Deitel, Paul; Deitel, Harvey. 2009, Java for Programmers. Prentice Hall. ISBN 978-0-13-700129-3
Morin, P. 2012, Open Data Structures (in Java). Pat Morin.
Oracle. The Collections Framework. Available from: http://download.oracle.com/
javase/1.5.0/docs/guide/collections/ Retrieved 14/05/2013.
Oracle. Java Platform Ed. 6. Available from: http://download.oracle. com/javase/6/docs/api/ Standard Retrieved 14/05/2013.
Introduction to Collections API, 2007, Retrieved 14 May 2013
Robert C. Martin. 1997, "Java vs. C++: A Critical Comparison
Read
More
Share:
CHECK THESE SAMPLES OF Java Collections Framework Analysis
The assignment "HTTP Purposes in Networking" focuses on the critical analysis of the major issues in the purposes of HTTP in networking.... A comparative analysis of TCP Tahoe, Renoe, New-Reno, SACK and Vegas.... HTTP along with other application layer protocols has been designed within the framework of the internet protocol suite.... The application layer protocols such as HTTP rely on the underlying framework to execute specifically designed functions....
As Robson (2002) observed, “a field where it is all difficult to carry out an analysis which is simply wrong, or inappropriate for your purposes.... And the negative side of readily available analysis software is that becomes that much easier to generate elegantly presented rubbish” (Robson, 2002).... The paper "Management of Continuous Programmer Education within the Irish Software Industry" aims to develop a framework that will enable all parties concerned (employees and employers) to benefit from the latest direction of the software industry....
java has become one of the powerful languages ever created and has become one of the leading languages being utilized in the industry of Information and Technology.... Basically designed for the improvement of network programming, java has covered large areas in orthodox applications as well as distributed and embedded systems.... In a study conducted in US, it was found that more than 50 percentages of the developers prefer java in developing applications and this figure is constantly rising....
The purpose of the study "Can Teaching The Key Ideas Of Object Orientation Be Aided By Using Visual Representations" was to evaluate the new stratagem in teaching Object Oriented Programming by using visual representations as opposed to a cumbersome old Procedural way of programming....
... ... ...
Tasks like analysis of natural language, generating hypothesis, scoring and finding evidence, merging and ranking of the hypothesis is shared among the processors.... This enables it to send packets from one server to another at high speed for analysis.... The information were obtained mainly from the internet, but during play time the information were stored locally in around 16 terabyte RAM this provided fast access of information for analysis.
...
Evaluation and Reflection al Affiliation) This paper provides an evaluation and analysis on the following three topics while reflecting upon a case study where each has been employed or is currently in use: PHP Libraries and Framework, Rich Interface Technologies and EC Payment Systems.... This report "PHP Libraries and framework" discusses an evaluation of CodeIgniter as a PHP framework.... HP Libraries and framework (CodeIgniter)
...
Although this analysis and evaluation is not aimed at concluding the best and bad application tool however, it can assist the reader to fully comprehend and evaluate the suitable development tools and framework according to his/her unique requirements.... ??4‑2:Android Software Environment contains a Linux Kernel, Libraries, Dalvik Virtual Machine, Application framework and built-in and custom applications.... Android operating System therefore covers diverse features for instance application framework, integrated browser, optimized graphics, and Dalvik virtual machine, media support for audio, image and video format, compass, accelerator, GSM technology, camera, Wi-Fi and rich development platform.
...
Whereas, persistent data involves core information or dimensional data to perform predictive analysis, including demographics including customers, suppliers, and orders through data warehouses (Smith 2016).... The java objects cannot see the JDO instance created due to a transparent framework that also not required java classes.... The JDO objects are created here to develop the transparency framework.... Finally, Java persistence APIs or JPA is another data persistence framework through which java objects and classes could be accessed and managed information efficiently....
10 Pages(2500 words)Report
sponsored ads
Save Your Time for More Important Things
Let us write or edit the term paper on your topic
"Java Collections Framework Analysis"
with a personal 20% discount.