public static < T > T selectValue ( T defaultValue , T ... overrides ) { for ( T override : overrides ) { if ( override != null ) { return override ; } } return defaultValue ; }
Determine a value from given options .