Java Collection Framework

What is Collection Framework : 

The Java collections framework (JCF) is a set of classes and interfaces that implement commonly reusable collection data structures. Although referred to as a framework, it works in a manner of a library. The JCF provides both interfaces that define various collections and classes that implement them.

Java Collection Framework Hierarchy :

collection_interfaces

 

Common Collection Framework Classes :

There several Collection Framework Class and Interfaces . Here we will Discuss most Common Collection Framework Hierarchy .

List :    Java List is an Ordered elements . List have duplicates element . There are three most used List Class Array List ,Linked List ,Vector .

  • Array List
  • Linked List
  •  Vector

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Android how to add collapsing toolbar with layout body touch collapse and expandAndroid how to add collapsing toolbar with layout body touch collapse and expand

1 . <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.adn.activities.root.HomeActivity"> <android.support.design.widget.AppBarLayout android:id="@+id/appbar_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/AppTheme.AppBarOverlay" > <android.support.design.widget.CollapsingToolbarLayout android:id="@+id/collapsing_toolbar" android:layout_width="match_parent" android:layout_height="match_parent" app:layout_scrollFlags="scroll|exitUntilCollapsed" app:contentScrim="?attr/colorPrimary" app:expandedTitleMarginStart="48dp" app:expandedTitleMarginEnd="64dp" android:fitsSystemWindows="true" > <LinearLayout android:orientation="vertical"