I need to extract and use the departureTime and arrivalTime values stored inside of a linkedlist inside of a map for the next step in my assignment but I don't know the syntax or if it is even possible to extract just that set of information from the specific value in the map and store them as values or a new list. Is this possible or should I abandon this method and take a different route?
public Info (String destination, double departureTime, double arrivalTime){
        this.destination = destination;
        this.departureTime = departureTime;
        this.arrivalTime = arrivalTime;
}
public class Route {
    Map<String,LinkedList<Info>> airportFlightMap = new HashMap<>();
    LinkedList<Info> destinations;
    private int array[];
    private int arraySize;
    private int heapSize;
    public Route(int arraySize) {
        array = new int [arraySize];
        this.arraySize = arraySize;
        heapSize = 0;
    }
    public void fillHash(String origin, String destination, double departureTime, double arrivalTime) {
        if(airportFlightMap.containsKey(origin)){
            destinations = airportFlightMap.get(origin);
            destinations.add(new Info(destination, departureTime/100, arrivalTime/100));
        }
        else{
            destinations = new LinkedList<>();
            destinations.add(new Info(destination, departureTime/100, arrivalTime/100));
            airportFlightMap.put(origin, destinations);
        }
    }
 
     
     
    