public static void main ( String[] args )
	{
	    // test default constructor
	    ArrayLinearList<Integer> x = new ArrayLinearList<>( );
	   // test size
	   System.out.println( "Initial size is " + x.size( ) );
	   // test isEmpty
	   if( x.isEmpty( ) )
	   System.out.println( "The list is empty" );
	   else System.out.println( "The list is not empty" );
	   // test put
	   x.add( 0, new Integer( 2 ) );
	   x.add( 1, new Integer( 6 ) );
	   x.add( 0, new Integer( 1 ) );
	   x.add( 2, new Integer( 4 ) );
	   // test toString
	   System.out.println( "The list is " + x );
		// output using an iterator
		Iterator<Integer> y = x.iterator( );
		while( y.hasNext( ) )
		System.out.print( y.next( ) + " " );
		System.out.println( );
		// test indexOf
		int index = x.indexOf( new Integer( 4 ) );
		if( index < 0 )
			System.out.println( "4 not found" );
		else 
			System.out.println( "The index of 4 is " + index );
		index = x.indexOf( new Integer(3) );
		if( index < 0 )
			System.out.println( "3 not found" );
		else 
			System.out.println( "The index of 3 is " + index );
		// test get
		System.out.println( "Element at 0 is " + x.get( 0 ) );
		System.out.println( "Element at 3 is " + x.get( 3 ) );
		// test remove
		System.out.println( x.remove( 1 ) + " removed" );
		System.out.println( "The list is " + x );
		System.out.println( x.remove( 2 ) + " removed" );
		System.out.println( "The list is " + x );
		if( x.isEmpty( ) )
			System.out.println( "The list is empty" );
		else System.out.println( "The list is not empty" );
			System.out.println( "List size is " + x.size( ) );
	}