Languages Java Databases/ JDBC  

TList: A Java List with fast add/remove

download download  
important code information
author:
Robert E. Jackson
minimum requirements:
TList: A Java List with fast add/remove description

Java's ArrayList suffers severe performance degredation when adding/removing numerous elements to/from a large List near the beginning or middle of the List. Our implementation (TList) features very rapid addition/removal from anywhere in the list even when the List is very large. This version is the same base code as in the 6/4/2009 submission with one important exception: Iterator & ListIterator code has been re-worked to improve execution speed. November 2009: Added 2 new convenience constructors one of which takes a Java Collection as input the other takes a Java array as input. April 2010: To ease the transition effort that would be needed to change an application from the use of ArrayLists to the use of TLists we have added 2 dummy methods: ensureCapacity(int minCapacity) and trimToSize(). Also we have added a TList(int initialCapacity) constructor which constructs an empty TList.


File List:
TList.java86Kb

Similar code
Some Code for Inventory System (Popularity: ) : Download this and you will learn 1.) JDBC Manipulation 2.) The use of connection , statement and resultset 3.) The use of classes to optimize the codes 4.) Move first , next , previous and last to the record using ...
Employee Tracking System (Popularity: ) : Employee Tracking System is a simple Employee written in Java that can save, search and sooner once I will finished this simple project, the delete, edit and close will also function accordingly. It has an image displayed on the right ...
Creating/using persistence layer (Popularity: ) : I just want to show how to create/use persistence layer: DAO, Helper, Models, and the presentation layer
Client-Server-DataServer (Popularity: ) : A three tier application having a client connecting to the server requesting for some data from the database. In turn then server connects to the data server and requests the query requested by the client from the database. Then the ...
College Library Record Application (Popularity: ) : The application have all the capabilities to control over the Data-Base, i.e ADD, DELETE, NEW, UPDATE an particular record in the database with the help of this application.
Email Recovered Password (Popularity: ) : J2ee based password recovery code. The user supplies his/her email and the code use that parameter to retrieve the forgotten password and send it to the user's email address at real time.
A 3-T Application (Popularity: ) : A client passes the parameter to server, server creates a query and passes it to the dataserver, dataserver processes the query a return the result back to the server, server will process the result add some essential tags like no ...
Excel Worksheet Name Reader (Popularity: ) : After searching the site, I noticed that there were no code entries enabling the user to learn the names of the worksheets in an excel file. This code allows your program to determine which worksheet to read from at runtime. ...
To Retrieve Image (Popularity: ) : This program is very simple program.This program retrieves image from database with file path.So i wanna to retrieve image from database(no file path).Please help me about that with simple code.
TOH (Tower Of Hanoi) (Popularity: ) : Solve classical problem,Tower of Hanoi. A little trick to complete it that is using recursive method. This program run on console mode or window mode.
User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
Email*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
 
Rate me
supported os
stats
downloads 80
version
size in Kb 15
popularity   1274/7913374
user rating 5/10
ad


New Code
Popular Code