iex
07/18/2017, 1:54 PMmenegatti
07/18/2017, 1:54 PM->
iex
07/18/2017, 1:55 PMiex
07/18/2017, 1:56 PMwhen { path == "/path" -> {...}; path.startsWith(...) -> ... }
?menegatti
07/18/2017, 1:58 PMraulraja
07/18/2017, 2:02 PMwhen
statement to destructure path
iex
07/18/2017, 2:06 PMraulraja
07/18/2017, 2:07 PMlovis
07/18/2017, 2:23 PMjava.net.URI, nio.file.Path
or similar classes if you can. (direct string manipulation is imho allmost always a bad idea)ribesg
07/18/2017, 2:23 PMribesg
07/18/2017, 2:23 PMribesg
07/18/2017, 2:23 PMross_a
07/18/2017, 2:25 PMjw
07/18/2017, 2:25 PMroberto.guerra
07/18/2017, 2:26 PMribesg
07/18/2017, 2:27 PModay
07/18/2017, 2:27 PMribesg
07/18/2017, 2:27 PMmaxim
07/18/2017, 2:29 PMribesg
07/18/2017, 2:29 PMribesg
07/18/2017, 2:30 PMribesg
07/18/2017, 2:30 PMiex
07/18/2017, 2:31 PMrocketraman
07/18/2017, 4:49 PMorangy
orangy
rocketraman
07/18/2017, 4:52 PMrogeralsing
07/18/2017, 5:17 PMsetOf<Something>()
with 0 args allocate or does it return a reusable empty set?poohbar
07/18/2017, 5:18 PM/** Returns an empty read-only set. The returned set is serializable (JVM). */
@kotlin.internal.InlineOnly
public inline fun <T> setOf(): Set<T> = emptySet()