@ Pure public static int getPreferredLaneCount ( ) { final Preferences prefs = Preferences . userNodeForPackage ( RoadNetworkConstants . class ) ; if ( prefs != null ) { return prefs . getInt ( "LANE_COUNT" , DEFAULT_LANE_COUNT ) ; //$NON-NLS-1$ } return DEFAULT_LANE_COUNT ; }
Replies the preferred number of lanes for a road segment .