org.opentripplanner.util.TranslatedString Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
package org.opentripplanner.util;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
/**
* This is for translated strings for which translations are read from OSM or GTFS alerts.
*
* This can be translated street names, GTFS alerts and notes.
* @author Hannes Junnila
*/
public class TranslatedString implements I18NString, Serializable {
/**
* Store all translations, so we don't get memory overhead for identical strings
* As this is static, it isn't serialized when saving the graph.
*/
private static HashMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy