Commit Graph

11 Commits

Author SHA1 Message Date
James Strachan bf29d48772 removed a TODO 2012-01-04 09:00:03 +00:00
Nikolay Krasko 44e558b681 More iterable extensions 2011-12-27 12:46:33 +04:00
Andrey Breslav f52eae71d0 GreatSyntacticShift: 'namespace' -> 'package' 2011-12-25 15:51:59 +04:00
James Strachan 393ecf2208 added a groupBy method (and stumbled on a couple more little compiler bugs which could well be the same as previous issues I've raised this week). Happy holidays everyone :) 2011-12-24 07:46:26 +00:00
James Strachan aa46952531 implemented containerType.count(predicate) 2011-12-23 16:48:22 +00:00
James Strachan 3fa49cadc0 added filterNot method 2011-12-23 16:27:40 +00:00
James Strachan a7810c4396 another attempt at getting a flatMap test working, not quite figured out the generics yet :) 2011-12-22 09:09:14 +00:00
James Strachan 894c84190a migrated most of the test cases over to the new -> syntax for functions; still can't compile or run the tests yet though :(, needs more work... 2011-12-21 16:26:37 +00:00
James Strachan 68d527c839 removed some warnings and reduntant code 2011-12-20 17:02:30 +00:00
James Strachan fee6bed2d4 removed the create() methods; added linkedList<T>(varargs) helper method and made filter/flatMap/map all allow an optional argument for the kind of collection to filter/flatMap/map into. I've temporarily commented out Alex's implementation of Iterable.filter in Filters.kt as I was getting all kinds of compile error messages. Will discuss this on the list & how better to organise the functions into files 2011-12-20 16:28:18 +00:00
James Strachan d122929b4b first cut of the collection methods in the standard library in http://confluence.jetbrains.net/display/JET/Standard+Library along with a little testlib to test them. Still a few TODO things and tidy up (and am sure a few more methods could be very handy too) but its getting Kool :) 2011-12-18 07:17:38 +00:00