public List < RuntimeSearchParam > getSearchParamsForCompartmentName ( String theCompartmentName ) { validateSealed ( ) ; List < RuntimeSearchParam > retVal = myCompartmentNameToSearchParams . get ( theCompartmentName ) ; if ( retVal == null ) { return Collections . emptyList ( ) ; } return retVal ; }
Will not return null