/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package poulproj06;

import java.lang.*;
import java.util.LinkedList;

public class FlightMap
{
	LinkedList<City>[] adjacencyList;
	
	public FlightMap()
	{
		
	}
	
	public void readInFlightMap(String cityFileName, String flightFileName)
	{
		
	}
	
	public void displayAllCities()
	{
		
	}
	public void displayAdjacentCities(City aCity)
	{
		
	}
	public void markVisited(City aCity)
	{
		
	}
	public void unVisitAll()
	{
		
	}
	
	public boolean isVisited(City aCity)
	{
		return false;
	}
	public void insertAdjacentCity(City aCity, City adjactentCity)
	{
		
	}
	public City getNextCity( City fromCity)
	{
		return null;
	}
	public boolean isPath(City origen, City destinationCity)
	{
		return false;
	}
}


@@ -229,34 +229,111 @@
 t;%0A%09
-%0A%09public FlightMap()%0A%09%7B%0A%09%09
+private final int MAXSIZE = 20;%0A%09public FlightMap()%0A%09%7B%0A%09%09adjacencyList = new LinkedList%3CCity%3E%5BMAXSIZE%5D;
 %0A%09%7D%0A
@@ -459,64 +459,253 @@
 %7B%0A%09%09
-%0A%09%7D%0A%09public void displayAdjacentCities(City aCity)%0A%09%7B%0A%09%09
+for(int i=0; i%3C MAXSIZE; i++)%0A%09%09%7B%0A%09%09%09System.out.println(adjacencyList%5Bi%5D%5B0%5D);%0A%09%09%7D%0A%09%7D%0A%09public void displayAdjacentCities(City aCity)%0A%09%7B%0A%09%09for(int i=1; i %3C adjacencyList%5BfindIndex(aCity)%5D.count ; i++)%0A%09%09%7B%0A%09%09%09adjacencyList%5BfindIndex(aCity)%5D%5Bi%5D;%0A%09%09%7D
 %0A%09%7D%0A
@@ -1062,11 +1062,54 @@
 lse;%0A%09%7D%0A
+%09private int findIndex(City city)%0A%09%7B%0A%09%09%0A%09%7D%0A
 %7D%0A%0A

Update FlightMap.java