Skip to main content

Java Collections Framework - Advantages, Goals and Interfaces





Java Collections Framework:

What is Java Collections Framework? (Must Know)
          
Java Collections Framework is group of different interfaces, classes and algorithms. In simple word, Collection means single unit of objects and framework means good architecture. 

It is best architecture to store group of reusable objects and manipulate them. Collection framework has many different interfaces, their sub interfaces and classes, their classes and sub classes. All the interfaces and classes has different purpose. 

You can perform add, edit, delete, search, sort, etc operations on group of objects as per class's methods and implementation.


Main Advantages Of Collection Framework

  • Main advantage of collection framework is it will reduces your programming efforts as there are ready made interfaces, classes and their methods which you can use directly in your program to perform operation on object collection.
  • Collection is well structure framework so you code quality and speed will be increased.
  • Anyone can use collection very easily as it's interfaces, classes and methods very easy to understand and use.

Goals of Java Collections Framework

The collections framework was designed to meet several goals, such as −
  • The framework had to be high-performance. The implementations for the fundamental collections (dynamic arrays, linked lists, trees, and hashtables) were to be highly efficient.
  • The framework had to allow different types of collections to work in a similar manner and with a high degree of interoperability.
  • The framework had to extend and/or adapt a collection easily.

Detailed description of collection framework's interfaces and it's classes is given on below given pages.
  • Java Collection Interface
  • Java List Interface
  • Java ArrayList Class
  • LinkedList In Java
  • Vector Class In Java
  • Stack Class in Java
  • Java Queue Interface
  • Java PriorityQueue Class
  • Java Deque Interface
  • Java ArrayDeque Class
  • Java Set Interface And Methods
  • Java LinkedHashSet Class
  • HashSet in Java Collection Example
  • Java SortedSet Interface
  • Java TreeSet Class

Follow my blog for More Free Selenium Tutorials to for beginners and professionals.  



Happy Testing!!


Comments

Popular posts from this blog

Top 10 Selenium Tester Responsibilities

Roles n Responsibilities of any automation tester depends upon many factors like team size, budget of project, availability of resources etc it may vary every now n then. But I have tried to highlight them here. Obviously, test automation is not just programming. If you do not have enough skills (yet) to automate focus on other things you can contribute on this Top 10 Selenium Tester Responsibilities Top 10 Selenium Tester Responsibilities: Understanding  Selenium Test Life Cycle Knowledge in Selenium Tools such as Selenium IDE, Selenium RC, Selenium WebDriver & Selenium Grid Good Knowledge in Understanding Selenium Commands – Selenese Idea in Test Case Prioritization Better knowledge in  Designing the Test Data Properly Check the remaining   5 Selenium Tester Responsibilities  

Selenium WebDriver Architecture - A perfect tutorial to learn Selenium Web Driver

Happy to meet you all through this important topic in Selenium  Automation, Selenium Web Driver architecture is one of the most important topic and the basic one which every selenium tester must be clear about before moving into other topics. What is Selenium Web Driver Web Driver is a tool which is used for automating web application testing, It is basically easy to understand,explore and use Selenium RC. Selenium Web Driver Architecture As I said above it is an important topic which needs to be clear off. I had explored many different pages and authors who are all experts in Selenium to refer a perfect page to learn Selenium Web Driver Architecture for you all. As a result I came across this post which seems to be very clear about this topic and also can be easily understandable by the beginners in testing field. Referring you the link below, Selenium Web Driver Architecture   I hope this post will really gonna be a very useful. Share...

Installation of Selenium IDE - Step by Step Guide for Beginners

Installation of Selenium IDE – Thanks for the reviews for my previous posts, as per the request I had received from beginners here I’ll explain about the Installation of Selenium IDE, Please check the previous tutorials about Basics of Selenium and Top 5 FAQs in Selenium and Components of Selenium  before go forward. Here is the step by step guide to Install Selenium IDE. What you need? The following are the stuffs, you need to install Selenium ·         An Internet connection ·         Mozilla Firefox Step 1: Using your Mozilla Firefox browser open this official Selenium IDE download link: http://www.seleniumhq.org/download/ Step 2: ·         Click on “Allow” if security alert displays while downloading.        Restart the browser once all the files are Installed Successfully          ...