public static void setPreferredLaneCount ( int count ) { final Preferences prefs = Preferences . userNodeForPackage ( RoadNetworkConstants . class ) ; if ( prefs != null ) { if ( count < 0 ) { prefs . remove ( "LANE_COUNT" ) ; //$NON-NLS-1$ } else { prefs . putInt ( "LANE_COUNT" , count ) ; //$NON-NLS-1$ } } }
Set the preferred number of lanes for a road segment .