final List<Integer> result = cars
    .filter(Car::isDiesel)
    .map(Card::getMpg);