lawlorslaw
12/14/2018, 8:55 AMList<Tide>
where a Tide
has a field tide
that is of type Float
, what is the best way to sort by the tide
field?
I tried tides.sortedBy { it.tide }
but it throws a ClassNotFoundExceptionJorge R
12/14/2018, 10:34 AMJorge R
12/14/2018, 10:34 AMpawelbochenski
12/14/2018, 11:12 AMrkeazor
12/14/2018, 2:26 PMlawlorslaw
12/14/2018, 2:40 PMval sortedTides = tides.sortedBy { it.tide }
lawlorslaw
12/14/2018, 2:41 PM