Commit Graph

23 Commits

Author SHA1 Message Date
James Strachan 6dc053f943 generated better comment describing where the code generator is in case anyone wants to modify the code 2012-05-25 21:41:49 +01:00
James Strachan fc4340f0f7 #KT-2067 Fixed 2012-05-23 09:46:15 +01:00
James Strachan 7500808e11 #KT-1788 Fixed - added standard collection APIs to the various kinds of Array and removed the few old hand-crafted versions of these methods 2012-04-17 14:05:32 +01:00
James Strachan 87e613a8c2 refactored the to(Collection) methods to be called toCollection(Collection) to avoid clashing with a potentially new method called to(T) for making a pair/tuple/Map.Entry 2012-04-16 19:59:12 +01:00
James Strachan c3f1e38c67 avoid default arguments on groupBy() by having groupByTo() if the caller wishes to specify the Map to group into. Also tidied up the sample code in CollectionTest 2012-04-12 12:35:13 +01:00
James Strachan 3ed819bfe1 improved the docs and test cases 2012-04-03 19:05:49 +01:00
James Strachan 4ba851f5c5 #KT-1391 Fixed 2012-04-03 15:52:17 +01:00
James Strachan 153b668d3e #KT-1391 Fixed 2012-04-03 10:40:21 +01:00
James Strachan f2bf17f548 #KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created 2012-04-02 20:03:09 +01:00
James Strachan 1d342978d0 #KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created 2012-04-02 20:01:24 +01:00
James Strachan 42fb0d652f minor file renaming so that things are properly syntax highlighted on github - seems files can't start with Java or be called String for some reason :) 2012-04-02 16:35:56 +01:00
James Strachan 3fb74d3e69 renamed @includeFunction to @includeFunctionBody to be more clear that the function definition itself won't be included into the kdocs 2012-04-02 15:25:15 +01:00
Svetlana Isakova d4d177c0ed added 'public' annotation to library functions 2012-03-30 13:38:36 +04:00
Svetlana Isakova 167a9c444a Added 'public' annotation and specified return types for library functions 2012-03-30 13:38:35 +04:00
James Strachan fbd1279cc9 removed Iterator.toString() as it changes the iterator state, the default is fine and folks should be explicit about iterating over an iterator. Also disabled the default limit on the iterator on join(); if folks want to limit the join they should be explicit 2012-03-30 10:24:27 +01:00
Franck Rasolo 834c624f2c KT-1650 Made map and all variations of filter return List<T> for Java iterables, implemented take/takeWhile, and tidied up KDoc comments accordingly, #KT-1650 Fixed 2012-03-28 19:46:12 +01:00
James Strachan fe9d5ddf89 fixed up the code generator after moving stuff around and updated with the latest/greatest documentation and function includes 2012-03-27 12:48:37 +01:00
James Strachan 3a4ed6a85f for consistency, moved extension functions on iterator/iterable/collection to the kotlin package rather than being split across kotlin and kotlin.util. Once intrinsic collections are here we could consider moving the java.util extension functions into kotlin.java.util 2012-03-26 08:59:16 +01:00
James Strachan 23e563b826 initial spike at implementing the standard collection functions on iterators; though compiler error prevented me from implementing all the lazy functions just yet 2012-03-23 11:36:11 +00:00
James Strachan b2dd4cd590 updated the code generator of standard library methods and regenerated it 2012-03-23 11:04:04 +00:00
James Strachan d469710c7c refactored foreach() -> forEach() as per Cedric's excellent suggestion http://devnet.jetbrains.net/message/5454105#5454105 2012-03-12 12:07:38 +00:00
James Strachan db72208a91 refactored filterNulls() to filterNotNull() which is a clearer name - thanks Stepan! 2012-03-08 14:36:23 +00:00
Andrey Breslav 3beec4847a stdlib sources re-added 2012-03-06 19:35:12 +04:00