voddan
12/09/2015, 7:00 PMvoddan
12/09/2015, 7:06 PMcedric
12/09/2015, 7:21 PMfilter
ambiguous, have there been discussions to name it more precisely, e.g. keep
(and maybe reject
instead of filterNot
)natpryce
12/09/2015, 7:58 PMilya.gorbunov
12/09/2015, 8:31 PMkirillrakhman
12/09/2015, 8:39 PMfilter
is consistent with all the other java libraries including java 8 streamsmplatvoet
12/09/2015, 8:39 PMcedric
12/09/2015, 8:44 PMfilter
is widespread, I just always have a pause to remember if the items matching the filter are being retained or rejectednatpryce
12/09/2015, 9:27 PMorangy
takeWhen
and `dropWhen`:)cedric
12/09/2015, 9:57 PMmichaelrocks
12/10/2015, 6:58 PMcoerceIn
accept nullable types? This method becomes unusable for real computations because of boxing. Moreover, there’re coerceAtLeast
and coerceAtMost
methods, which are very similar to what coerceIn
does when one of its arguments is null
.michaelrocks
12/11/2015, 11:43 AMyole
12/11/2015, 11:44 AMilya.gorbunov
12/11/2015, 11:47 AMilya.gorbunov
12/11/2015, 11:48 AMyole
12/11/2015, 11:51 AMilya.gorbunov
12/11/2015, 11:52 AMmichaelrocks
12/11/2015, 11:57 AMmichaelrocks
12/11/2015, 11:59 AMvalue = lowerBound?.let { value.coerceAtLeast(it) }
value = upperBound?.let { value.coerceAtMost(it) }
gabrielborges
12/12/2015, 1:57 PMmvn test
inside stdlib. However, mvn install
inside libraries fails the recently added tests because it can't find the newly added functions. Is that expected behaviour? cheersilya.gorbunov
12/12/2015, 2:20 PMilya.gorbunov
12/12/2015, 2:22 PMgabrielborges
12/12/2015, 4:36 PMgabrielborges
12/12/2015, 10:32 PMjkwatson
12/13/2015, 6:19 AMtake
returns a List, rather than a wrapper Iterable that simply stops at the specified size.orangy
jkwatson
12/13/2015, 6:13 PMvoddan
12/13/2015, 9:54 PMorangy