question: private Map < URI , StorageSystem > buildArrayMap ( List < VolumeDescriptor > descriptors , VolumeDescriptor . Type type ) { Map < URI , StorageSystem > arrayMap = new HashMap < URI , StorageSystem > ( ) ; if ( type != null ) { descriptors = VolumeDescriptor . filterByType ( descriptors , new VolumeDescriptor . Type [ ] { type } , new VolumeDescriptor . Type [ ] { } ) ; } for ( VolumeDescriptor desc : descriptors ) { if ( arrayMap . containsKey ( desc . getDeviceURI ( ) ) == false ) { StorageSystem array = getDataObject ( StorageSystem . class , desc . getDeviceURI ( ) , _dbClient ) ; arrayMap . put ( desc . getDeviceURI ( ) , array ) ; } } return arrayMap ; }
target:  Build a map of URI to cached StorageSystem for the underlying arrays.