@ Override public Integer getScanCountAtMsLevel ( int msLevel ) { TreeMap < Integer , IScan > msLevelScanMap = getMapMsLevel2index ( ) . get ( msLevel ) . getNum2scan ( ) ; if ( msLevelScanMap != null ) { return msLevelScanMap . size ( ) ; } return null ; }
If the msLevel doesn t exist in this ScanCollectionDefault returns null