Join Slack
Powered by
On the other hand the first one could be a top-lev...
# stdlib
i
ilya.gorbunov
04/13/2016, 5:41 PM
On the other hand the first one could be a top-level function like:
Copy code
fun <T : Any> optionalOf(value: T?): Optional<T> = Optional.ofNullable<T>(value)
3
Views
Open in Slack
Previous
Next