Jose Lorenzo Rodriguez
|
74bf9f0656
Cleaning code and adding another test case
|
10 years ago |
Jose Lorenzo Rodriguez
|
4761d41897
Naïve version of supporting {n} notation in collection methods
|
10 years ago |
Jose Lorenzo Rodriguez
|
a340d8b00a
Making Collection::sumOf() use an identity by default
|
10 years ago |
Jose Lorenzo Rodriguez
|
8540633534
Fixes #6683
|
10 years ago |
Jose Lorenzo Rodriguez
|
a50ff282f9
Implemented Collection::last()
|
11 years ago |
Jose Lorenzo Rodriguez
|
8c10deec57
Implemented Collection::skip()
|
11 years ago |
Jose Lorenzo Rodriguez
|
c8c60fb36b
Implemeting the zipWith() method
|
11 years ago |
Jose Lorenzo Rodriguez
|
d311596246
Adding more tests and the code
|
11 years ago |
Jose Lorenzo Rodriguez
|
ac97df1f0a
Initial implementation of Collection::zip()
|
11 years ago |
Jan Sukenik
|
b9cad16252
Added more tests for CollectionTrait::append
|
11 years ago |
Jose Lorenzo Rodriguez
|
bac36e05d7
Implemented Collection::isEmpty()
|
11 years ago |
Jose Lorenzo Rodriguez
|
c296a3b91d
Fixing regression in SortByIterator, closes #6349
|
11 years ago |
Mark Scherer
|
eaa9179c36
Add __debugInfo() to Collection.
|
11 years ago |
Jose Lorenzo Rodriguez
|
6b034273ce
Implementing Collection::through()
|
11 years ago |
Andreas Kristiansen
|
50d2c8f703
Initial value for Collection::reduce is now optional
|
11 years ago |
Adam Taylor
|
9368c625ef
Fix typos
|
11 years ago |
Jose Lorenzo Rodriguez
|
a70e205fb0
Using _unwrap in all methods where the collection passes itself
|
11 years ago |
Jose Lorenzo Rodriguez
|
6b9920d4bf
Optimizing Collection::sort()
|
11 years ago |
Jose Lorenzo Rodriguez
|
1662f2e302
Implemented Collection::toList() to avoid confusion when getting results
|
11 years ago |
Bryan Crowe
|
be845a3a01
Run phpcbf for PSR2 CS fixers
|
11 years ago |
Mark Story
|
2a51059d3b
Fix phpcs error.
|
11 years ago |
Jose Lorenzo Rodriguez
|
5fe3e34db1
Refactoring and documenting functions
|
11 years ago |
Jose Lorenzo Rodriguez
|
39607af730
Using an identity function in unfold() is a very common case
|
11 years ago |
Jose Lorenzo Rodriguez
|
4a2a76c5f2
Initial code for implementing Collection::unfold()
|
11 years ago |
Jose Lorenzo Rodriguez
|
8cdf2cfdb9
Implemented Collection::stopWhen()
|
11 years ago |
euromark
|
aa0c90ed1f
Consolidate asserts
|
11 years ago |
Bryan Crowe
|
7cd01cf687
Fix failed Exception message test
|
11 years ago |
Jose Lorenzo Rodriguez
|
a73697246d
Added Collection::buffered() to make any non-rewidable rewindable
|
11 years ago |
Bryan Crowe
|
608e1c5ae7
Add space after closures' function keyword
|
11 years ago |
Jose Lorenzo Rodriguez
|
e94fbfeb8a
Implemented Collection::sumOf()
|
11 years ago |