The first case creates a lambda that does nothing, courtesy of Kotlin I guess. If written out in Java syntax: .switchIfEmpty(mo -> { Maybe.just(2); }).
確定! 回上一頁