}
if (datasetReq instanceof DatasetRequest.MultiRes) {
// multiDomain and multiRange explicitly specified in request object.
DatasetRequest.MultiRes multiResReq = (DatasetRequest.MultiRes) datasetReq;
Array2D mipMappedDomain = multiResReq.getMultiresDomain();
List<Array2D> mipMappedRangeTuples = multiResReq.getMultiResRangeTuples();
mipMapChain = createMipMapChain(mipMappedDomain, mipMappedRangeTuples);
} else if (datasetReq instanceof DatasetRequest.Basic) {
// Use MipMapStrategy to calculate multiDomain and MultiRange from
// the domain[] and range[] specified in the basic request.