tenantUsages.add(tenantUsage);
}
i++;
}
}
PaginatedTenantUsageInfo paginatedTenantInfo = new PaginatedTenantUsageInfo();
paginatedTenantInfo.setTenantUsages(
tenantUsages.toArray(new TenantUsage[tenantUsages.size()]));
paginatedTenantInfo.setNumberOfPages(numberOfPages);
paginatedTenantInfo.setPageNumber(pageNumber);
return paginatedTenantInfo;
}