What are collections?

What are collections?

what is Collections?

View Answers

May 31, 2012 at 11:54 AM

The Java Collections API's provide a set of classes and interfaces that makes it easier to handle collections of objects. In a sense Collection's works a bit like arrays, except their size can change dynamically, and they have more advanced behavior than arrays.

Rather than having to write your own collection classes, Java provides these ready-to-use collection classes. Most of the Java collections are located in the java.util package. Java also has a set of concurrent collections in the java.util.concurrent package.

Following thins comes under Collections API

    Overview of Interfaces
    Iterable
    Collection
    Generic Collections
    List
    Set
    SortedSet
    NavigableSet
    Map
    SortedMap
    NavigableMap
    Queue
    Deque
    Stack
    hashCode() and equals()
    Sorting

For more information, visit the following links:

http://www.roseindia.net/java/jdk6/

http://www.roseindia.net/javacodeexamples/index.shtml

http://www.devmanuals.com/tutorials/java/collections/









Related Tutorials/Questions & Answers:
collections2
ModuleNotFoundError: No module named 'collections2'
Advertisements
ModuleNotFoundError: No module named 'collections2'
ModuleNotFoundError: No module named 'collections2'
ModuleNotFoundError: No module named 'collections2'
what is bit
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
what is hibernate.archive.autodetection
What is procedure
what is hibernate.archive.autodetection
What is Hibernate
What is Hibernate
What is JDBC?
What is FBT
What is ActionServlet?
What is Trigger?
What is VLR ?
What's PHP ?
What is an interface?
What is DML?
What is Index?
What is SQLLoader?
What is a "constraint"?
what is Savepoint ?
What is this keyword?
what is collections?
what are indices?
What is Hibernate
What is Hibernate
What is Externalizable?
What is the % operator?
What is casting?
What is DataAccessException?
What is IOC ?
What is SQLExceptionTranslator?
What are Struts?
What is WAP?
What is SPOOL?
What is CRM?
What is webservices?
What is Ajax?
What is NSRangeException
What is portal
what is posting?
What is a tuple?
What is workflow
what is RUP?

Ads