Ilya Ryzhenkov
|
2e154b73de
|
Support componentN for arrays and lists #KT-5538 Fixed
|
2014-11-06 16:45:57 +03:00 |
|
Ilya Ryzhenkov
|
c2fabf5736
|
Comparator<T> replaced with Comparator<in T> #KT-6030 Fixed
|
2014-11-06 16:45:57 +03:00 |
|
Ilya Ryzhenkov
|
0dc68c2702
|
Avoid using negative in descending sorts.
|
2014-11-06 16:45:56 +03:00 |
|
Ilya Ryzhenkov
|
c5c1ecf6c0
|
Improve Streams implementation for performance and validity (based on JMH research)
|
2014-09-26 01:33:51 +04:00 |
|
Ilya Ryzhenkov
|
a9da7cfeea
|
Use LinkedHashMap everywhere to preserve order.
|
2014-07-16 21:35:09 +04:00 |
|
Ilya Ryzhenkov
|
0e656ce3ce
|
collection.toMap(selector)
|
2014-07-16 21:35:08 +04:00 |
|
Ilya Ryzhenkov
|
ce5f7e9d61
|
Breaking change. Map operations revisited.
|
2014-07-16 21:35:07 +04:00 |
|
Ilya Ryzhenkov
|
4167359c08
|
Map.filter() returns Map instead of List of Entries
|
2014-07-16 21:35:06 +04:00 |
|
Ilya Ryzhenkov
|
6849fb8358
|
Map.toList() returns List of Pairs instead of List of Entries.
|
2014-07-16 21:35:06 +04:00 |
|
Ilya Ryzhenkov
|
7273f223f4
|
Remove Map.groupBy
|
2014-07-16 21:35:06 +04:00 |
|
Ilya Ryzhenkov
|
2b6fcc0b7c
|
singleOrNull methods should never throw exception #KT-5424 Fixed
|
2014-07-16 21:10:32 +04:00 |
|
Michael Bogdanov
|
a1a205a3db
|
Stdlib update due ONLY_LOCAL_RETURN diagnostic
|
2014-07-07 10:51:46 +04:00 |
|
Ilya Ryzhenkov
|
ca7c3d7999
|
Set operations (distinct, union, intersect, subtract)
|
2014-06-24 23:49:16 +04:00 |
|
Ilya Ryzhenkov
|
65da4cb2fb
|
Generalize zip(..) to merge(..) { t1, t2 -> ... }, add merge for maps.
|
2014-06-24 23:49:16 +04:00 |
|
Ilya Ryzhenkov
|
19858b9f74
|
Created join, joinTo and joinToString functions, deprecated makeString & appendString #KT-3841 Fixed
|
2014-06-10 11:11:02 +04:00 |
|
Ilya Ryzhenkov
|
e6f5c7012c
|
Stream.filterIsInstance has wrong return type #KT-5097 Fixed
|
2014-06-10 11:11:01 +04:00 |
|
Ilya Ryzhenkov
|
a2a93a3830
|
Fix String.dropWhile & String.takeWhile
|
2014-06-10 11:11:01 +04:00 |
|
Ilya Ryzhenkov
|
178ae83e8d
|
sort and binarySearch methods now have correct default toIndex parameter #KT-4963 Fixed
|
2014-06-10 11:11:00 +04:00 |
|
Ilya Ryzhenkov
|
9ec78a437d
|
Throw NoSuchElementException in appropriate cases #KT-4998 Fixed
|
2014-06-10 11:11:00 +04:00 |
|
Ilya Ryzhenkov
|
87745c05ae
|
Fix filterNotNull and mapNotNull for streams.
|
2014-04-24 12:59:42 +04:00 |
|
Ilya Ryzhenkov
|
118126c744
|
Add toList() operation on Maps
|
2014-04-24 12:59:42 +04:00 |
|
Ilya Ryzhenkov
|
5537ff5f3c
|
Add toSortedList operation for Streams
|
2014-04-24 12:59:42 +04:00 |
|
Ilya Ryzhenkov
|
9a7758bf4e
|
Remove bogus filterIsInstance* on strings.
|
2014-04-24 12:59:42 +04:00 |
|
Ilya Ryzhenkov
|
6562ee4967
|
Rename "collection" parameter to "destination" in *To() functions.
|
2014-04-24 12:59:41 +04:00 |
|
Ilya Ryzhenkov
|
e43d08d228
|
Fix typo
|
2014-04-24 12:59:41 +04:00 |
|
Ilya Ryzhenkov
|
89c1260627
|
Fix formatting in Engine and templates
|
2014-04-24 12:59:41 +04:00 |
|
Ilya Ryzhenkov
|
cbc0e6404e
|
Support String in generators, and migrate generated functions.
|
2014-04-24 12:59:41 +04:00 |
|
Ilya Ryzhenkov
|
d9d5631a16
|
Optimize selection functions, add guard checks.
|
2014-04-24 12:59:41 +04:00 |
|
Ilya Ryzhenkov
|
d54fb97c5d
|
Make all *Array.fill() extensions returning an array #KT-4760 Fixed
|
2014-04-24 12:59:40 +04:00 |
|
Ilya Ryzhenkov
|
1db035a0aa
|
Slice functions for arrays and lists.
|
2014-04-24 12:59:40 +04:00 |
|
Ilya Ryzhenkov
|
df310ac362
|
Minor: restore generated line break so that file do not get dirty on every regeneration
|
2014-04-24 12:59:40 +04:00 |
|
Alexander Udalov
|
e3fffe275b
|
Fix implementation of Iterable<T>.take
#KT-4780 Fixed
|
2014-03-28 19:08:48 +04:00 |
|
Ilya Ryzhenkov
|
ceb2aa57f9
|
Make two overloads of copyOf to preserve nullness when size doesn't change
|
2014-03-19 20:25:14 +04:00 |
|
Ilya Ryzhenkov
|
108fdc0097
|
Make stream plus operation actually streaming (lazy).
|
2014-03-19 20:25:14 +04:00 |
|
Ilya Ryzhenkov
|
e37d8174c3
|
New stdlib generators
|
2014-03-19 20:25:11 +04:00 |
|
Jon Renner
|
6781231411
|
KT-4347 add Array extension indexOf to stdlib
|
2013-12-30 14:42:56 +04:00 |
|
Evgeny Gerashchenko
|
e80af77c31
|
Added max() and min() for CharArrays.
|
2013-12-06 20:35:31 +04:00 |
|
nik
|
f439604b57
|
standard library: 'max' and 'min' functions reimplemented to avoid unnecessary null checks
(as proposed for minBy/maxBy in https://github.com/JetBrains/kotlin/pull/324)
|
2013-12-06 20:22:53 +04:00 |
|
Mikhael Bogdanov
|
16f554b6bf
|
Removed inline annotation from downTo functions
|
2013-12-02 18:28:24 +04:00 |
|
Mikhael Bogdanov
|
339e639135
|
Stdlib regenerated
|
2013-12-02 18:28:24 +04:00 |
|
nik
|
ac6dc9fa54
|
standard library: 'maxBy' and 'minBy' functions added (#KT-4267 fixed)
|
2013-12-02 18:24:24 +04:00 |
|
nik
|
45e9211943
|
standard library: added isEmpty/isNotEmpty functions for primitive arrays
|
2013-12-02 18:24:24 +04:00 |
|
nik
|
bf36eb07e9
|
standard library: 'max' and 'min' functions added (KT-3714, KT-3843, KT-3126)
|
2013-11-27 23:09:30 +04:00 |
|
nik
|
cde36adbdc
|
standard library: 'sum' function added (KT-3714, KT-3843, KT-3126)
|
2013-11-27 12:42:40 +04:00 |
|
Mohammad Shamsi
|
0c447c81ca
|
KT-4153 Fixed.
|
2013-11-05 18:37:13 +08:00 |
|
Svetlana Isakova
|
362770c9b1
|
don't generate two 'flatMap' methods(*) for Iterator
* with the same erased signature
#KT-3373 Fixed
|
2013-03-25 17:34:22 +04:00 |
|
Evgeny Gerashchenko
|
f31f98b56d
|
Restored auto-generated warning in iterators/collections code.
|
2013-03-22 16:38:26 +04:00 |
|
Evgeny Gerashchenko
|
5ccbce6de6
|
Got rid of "tuple" word all over the code.
|
2013-03-22 16:38:25 +04:00 |
|
Maxim Shafirov
|
7231606eb2
|
Make sure files don't get overwritten if someone mixes generated and normal stdlib sources in one folder during build.
|
2013-02-13 13:59:29 +04:00 |
|
Maxim Shafirov
|
620aae28d0
|
Collections standard library is now generated from templates.
|
2013-02-13 12:41:12 +04:00 |
|