4/17/19

Java Collections Framework - JCF | Part -1


It's like a bowl which has several type of data.

JFC (Java Collections Framework) provides an architecture to store and manipulate the group of objects. it can perform several tasks.
-Searching
-Sorting
-Inserting
-Deletion
-Filter
-Duplicate, etc.

Collection represents a single unit of objects i.e a group

Collection basic type.
-MAP
-SET
-LIST
-QUEUE

Frequently used collection are MAP and LIST.

MAP, SET, LIST and QUEUE which are the Interface that have several methods which implementations algorithm.


Iterator Interface in Java

Iterator inteface provides the facility of iterating the elements in forward direction only.

Methods of Iteratoe inteface
-public boolean hasNext() - chech the element has or not
-public object next() - move th elements
-public void remove() - remove the element

No comments:

Post a Comment

About

Hi, I'm Najathi.
I've started entrepreneurial company, Twin Brothers.Inc.
One is self-funded & the other is venture backed. I also send a weekly. where I share relevent, curated links.

Every Week I Publish a short post on writing, publishing, or content of IT Related

Contact Form

Name

Email *

Message *