@ SuppressWarnings ( "unchecked" ) private List < V > getValues ( List < Object > entriesKeysForPage ) { if ( entriesKeysForPage . isEmpty ( ) ) { return Collections . emptyList ( ) ; } Map < Object , V > entriesMap = queryRegion . getAll ( entriesKeysForPage ) ; List < V > entries = new ArrayList < V > ( entriesKeysForPage . size ( ) ) ; for ( Object key : entriesKeysForPage ) { entries . add ( entriesMap . get ( key ) ) ; } return entries ; }
Returns values for given keys .