Station getStation(String stationName) {
        requireNotBlank(stationName);
        Station station = stations.get(stationName);
        if (station == null) {
            final Station value = new Station(stationName);
            station = stations.putIfAbsent(stationName, value);
            if (station == null) {
                station = value;
                LOG.debug("Created station {}", station);
            }
        }
        return station;
    }
Station getStation ( String stationName ) { requireNotBlank ( stationName ) ; Station station = stations . get ( stationName ) ; if ( station == null ) { final Station value = new Station ( stationName ) ; station = stations . putIfAbsent ( stationName , value ) ; if ( station == null ) { station = value ; LOG . debug ( "Created station {}" , station ) ; } } return station ; }
@param stationName
@return the station with the given name. It safely creates a new {@link Station} if a station with the given name does not exist.
@throws IllegalArgumentException
if the station name is blank or null