AO
val sortedList = list.sortedWith(compareBy({ it.age }, { it.name }))
Size: a a a
AO
val sortedList = list.sortedWith(compareBy({ it.age }, { it.name }))
AK
import org.junit.Test
import rx.Observable
class TestSmth {
@Test
fun tryIt() {
Observable.error<RuntimeException>(RuntimeException(""))
.subscribe({})
{ throwable ->
println(3444)
throwable.printStackTrace()
}
}
}
QH
import org.junit.Test
import rx.Observable
class TestSmth {
@Test
fun tryIt() {
Observable.error<RuntimeException>(RuntimeException(""))
.subscribe({})
{ throwable ->
println(3444)
throwable.printStackTrace()
}
}
}
QH
synchronized { ... }
AK
AK
AK
QH
AK
import org.junit.Test
import rx.Observable
class TestSmth {
@Test
fun tryIt() {
Observable.error<RuntimeException>(RuntimeException(""))
.subscribe({})
{ throwable ->
println(3444)
throwable.printStackTrace()
}
}
}
ЕР
AV
ЕР
DC
AO
DP
AI
OD
ЕБ
ЕБ
ЕБ