flatMap (cart -> { double total = cart.stream() .mapToDouble(Item::getPrice) .sum(); return pay(total) .map(uuid -> Pair.of(cart, uuid));. })).
確定! 回上一頁