| CCS 2100 | | Comp 310 | | CCS 1300 | | CCS 1200 | | CCS 1100 | | CCS 1000 | | CS 212 | | Email: cpuccs@yahoo.com
Showing posts with label ArrayListClass. Show all posts
Showing posts with label ArrayListClass. Show all posts

Wednesday, January 9, 2013

Array-Based Lists Example

The following is the link for the complete sample program of an integer list that use array-based data structure. (Note: click the smaller download link, not the big one in the ads):

Array-Based List
URL: http://www.2shared.com/file/pA8UVyql/1_-_Array_Based.html

The file is in ZIP format. Simply extract it to access the codes.

Or you may encode the following 5 java classes:

------------------------TestProg_Array.java------------------------

//Test Program Integer Array List
import java.io.*;
import java.util.*;

public class TestProg_Array
{
    static BufferedReader keyboard = new
           BufferedReader(new InputStreamReader(System.in));

    public static void main(String[] args) throws IOException
    {
        UnorderedArrayList intList = new UnorderedArrayList(50);
        IntElement num = new IntElement();

Sunday, July 22, 2012

Address Book using Array-Based Lists

The following is a program that would act as an Address Book using Array-Based Lists:

http://www.2shared.com/file/u6X0pBTZ/AddressBook.html

NOTE: Copy Ch3_Ex8Data.txt in the Drive C:.

Abstract Functions in ArrayClassList

Here is the link for a program that shows how to tap the abstract functions of the ArrayListClass:

http://www.2shared.com/file/-0Si-vsF/Abstract_Func.html