java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic ArrayList (4 - 31 Aug 2003 - Main.redwolf)
Line: 1 to 1
 
META TOPICPARENT name="Glossary"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

ArrayList
<-- this automatically adds a header showing the name of this page -->

Changed:
<
<
A java class that is a member of the Java Collections Framework that implements the List interface. The ArrayList should be preferred over the Vector as it has a cleaner API and does not force the use of synchronization when it's not needed. The ArrayList can easily be synchronized by using the Collections.synchronizedList(List) method thus obsoleting the Vector class.
>
>
A Java class that is a member of the Java Collections Framework which implements the List interface. ArrayList should be preferred over Vector as it has a cleaner API and does not force the use of synchronization when it is not needed. The ArrayList can easily be synchronized by using the Collections.synchronizedList(List) method thus obsoleting the Vector class.
 The performance characteristics of an ArrayList are such that read operations, like get(int), are fast while insert operations, like add(Object), are slower. If you need a List designed for frequent inserts then consider the LinkedList.
Added:
>
>
Also See

Using ArrayList and LinkedList

 
<-- put two horizontal ruled lines between article and discussion of it. -->


 <<O>>  Difference Topic ArrayList (3 - 22 Jun 2003 - Main.zander)
Line: 1 to 1
 
META TOPICPARENT name="Glossary"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

ArrayList
<-- this automatically adds a header showing the name of this page -->

Changed:
<
<
A java class that is a member of the Java Collections Framework that implements the List interface. The ArrayList should be preferred over the Vector as it has a cleaner API and does not force the use of synchronization when it's not needed. The ArrayList can easily be synchronized by using the Collections.synchronizedList(List) method thus obsoleting the Vector class.
>
>
A java class that is a member of the Java Collections Framework that implements the List interface. The ArrayList should be preferred over the Vector as it has a cleaner API and does not force the use of synchronization when it's not needed. The ArrayList can easily be synchronized by using the Collections.synchronizedList(List) method thus obsoleting the Vector class.
 
Changed:
<
<
The performance characsitics of an ArrayList are such that read operations, like get(int), are fast while insert operations, like add(Object), are slower. If you need a List designed for frequent inserts then consider the LinkedList.
>
>
The performance characteristics of an ArrayList are such that read operations, like get(int), are fast while insert operations, like add(Object), are slower. If you need a List designed for frequent inserts then consider the LinkedList.
 
<-- put two horizontal ruled lines between article and discussion of it. -->


 <<O>>  Difference Topic ArrayList (2 - 20 Jun 2003 - Main.leknor)
Line: 1 to 1
 
META TOPICPARENT name="Glossary"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

ArrayList
<-- this automatically adds a header showing the name of this page -->

Changed:
<
<
A java class that is a member of the Java Collections Framework. A special feature of the ArrayList is that you can add items to the list in an ordered fashion and also allows inserting null elements. This object is not synchronized.
>
>
A java class that is a member of the Java Collections Framework that implements the List interface. The ArrayList should be preferred over the Vector as it has a cleaner API and does not force the use of synchronization when it's not needed. The ArrayList can easily be synchronized by using the Collections.synchronizedList(List) method thus obsoleting the Vector class.

The performance characsitics of an ArrayList are such that read operations, like get(int), are fast while insert operations, like add(Object), are slower. If you need a List designed for frequent inserts then consider the LinkedList.

 
<-- put two horizontal ruled lines between article and discussion of it. -->

Line: 13 to 15
 
<-- anchor to allow a link to the discussion about this article -->

Discussion about ArrayList
<-- generate a header for the discussion part of page -->

Deleted:
<
<

 <<O>>  Difference Topic ArrayList (1 - 21 Jun 2003 - Main.little_endian)
Line: 1 to 1
Added:
>
>
META TOPICPARENT name="Glossary"
Home | Help | Changes | Index | Search | Go
<-- This creates the navigation links to :  Home | Help | Index | etc.  -->

ArrayList
<-- this automatically adds a header showing the name of this page -->

A java class that is a member of the Java Collections Framework. A special feature of the ArrayList is that you can add items to the list in an ordered fashion and also allows inserting null elements. This object is not synchronized.


<-- put two horizontal ruled lines between article and discussion of it. -->

<-- anchor to allow a link to the discussion about this article -->

Discussion about ArrayList
<-- generate a header for the discussion part of page -->


Topic ArrayList . { View | Diffs r4 < r3 < r2 < r1 | More }
 XML java.net RSS