@ Pure public static String getSystemDefault ( RoadType type ) { switch ( type ) { case OTHER : return DEFAULT_OTHER_ROAD_TYPE ; case PRIVACY_PATH : return DEFAULT_PRIVACY_ROAD_TYPE ; case TRACK : return DEFAULT_TRACK_ROAD_TYPE ; case BIKEWAY : return DEFAULT_BIKEWAY_ROAD_TYPE ; case LOCAL_ROAD : return DEFAULT_LOCAL_ROAD_ROAD_TYPE ; case INTERCHANGE_RAMP : return DEFAULT_INTERCHANGE_RAMP_ROAD_TYPE ; case MAJOR_URBAN_AXIS : return DEFAULT_MAJOR_URBAN_ROAD_TYPE ; case SECONDARY_ROAD : return DEFAULT_SECONDARY_ROAD_TYPE ; case MAJOR_ROAD : return DEFAULT_MAJOR_ROAD_TYPE ; case FREEWAY : return DEFAULT_FREEWAY_ROAD_TYPE ; default : } throw new IllegalArgumentException ( ) ; }
Replies the system - default value for the type of road .