public static < K , V , T > Map < K , List < Versioned < V > > > getAll ( Store < K , V , T > storageEngine , Iterable < K > keys , Map < K , T > transforms ) { Map < K , List < Versioned < V > > > result = newEmptyHashMap ( keys ) ; for ( K key : keys ) { List < Versioned < V >> value = storageEngine . get ( key , transforms != null ? transforms . get ( key ) : null ) ; if ( ! value . isEmpty ( ) ) result . put ( key , value ) ; } return result ; }
Implements getAll by delegating to get .