Commit Graph

79 Commits

Author SHA1 Message Date
CismonX 283fdafd56 Add `maxBy()`, `minBy()`. Remove ZTS relevant code. 2018-05-01 17:35:19 +08:00
CismonX 5f200100a8 Fix bug. Update readme. 2018-04-26 22:05:26 +08:00
CismonX cf9c9ed73d Add `single()`, `isEmpty()`, `isNotEmpty()`, `get()`, `set()`. Some other updates. 2018-04-26 21:52:31 +08:00
CismonX ed1926580f Add `min()`, `max()`, `none()`, `keys()`, `values()`. 2018-04-24 17:22:43 +08:00
CismonX f2209e019d Add `flatten()`. Remove `lastIndexOf()`. 2018-04-22 22:47:30 +08:00
CismonX 6b0bbb294f Add `toPairs()` and `toCollection()`. 2018-04-20 20:59:21 +08:00
CismonX 01d459f965 Fix bugs. Improve performance. 2018-04-18 12:03:27 +08:00
CismonX 88ab328009 Bug fix 2018-04-17 23:22:07 +08:00
CismonX b5c3a0b4ad Bug fix. Performance boost. 2018-04-17 23:17:30 +08:00
CismonX f2402b9f67 Add `Collection::flatMap()` and `Collection::flatMapTo()`. Fix bugs. 2018-04-16 20:58:38 +08:00
CismonX 70588073a6 Add `Collection::first()` and `Collection::last()`. Update code structure. 2018-04-15 11:22:10 +08:00
CismonX d2506ee5c9 Add `filterTo()` and `filterNotTo()` 2018-04-14 14:03:47 +08:00
CismonX 9b08894ae5 Add `filter()` and `filterNot()` 2018-04-13 19:54:11 +08:00
CismonX 3d996ade8b Add `fill()`. Now `init()` performs a hard copy on source array. 2018-04-12 15:24:53 +08:00
CismonX 55e1bbda22 More tolerant predicate. Add `dropWhile()` and `dropLastWhile()`. 2018-04-11 21:26:51 +08:00
CismonX 4597e0d42a PHP 7.2+ compatibility. Add `drop()` and `dropLast()`. 2018-04-11 15:16:20 +08:00
CismonX 7b98857eff Implement ArrayAccess. Fix config.m4, .travis.yml. Update stubs. 2018-03-31 12:02:13 +08:00
CismonX dc4a1546eb Fix bug in macro. Shorten code. 2018-03-30 22:20:58 +08:00
CismonX f7b924801b Implement `copyOfRange()` and `count()` 2018-03-30 19:06:39 +08:00
CismonX a7a39c889a Fix error message. 2018-03-29 16:04:29 +08:00
CismonX df3da628ee Add new methods. Update stub. 2018-03-29 12:33:39 +08:00
CismonX 4a3c28b4b3 Add `average()` and `containsAll()`. Update README. 2018-03-28 13:02:51 +08:00
CismonX 8d62f9a288 Add `associateBy()` and `associateByTo()` 2018-03-26 19:58:40 +08:00
CismonX e116696a49 Compatible to PHP 7.0.x 2018-03-26 14:03:13 +08:00
CismonX b099ab663b Compatible to PHP 7.0.x 2018-03-26 13:54:01 +08:00
CismonX df8f8dd322 Add `associateTo()`. 2018-03-26 13:25:00 +08:00
CismonX 8b88a88ba5 Add `associate()`. Fix bug. 2018-03-25 15:26:07 +08:00
CismonX d59af14f7a Add new methods 2018-03-24 12:22:00 +08:00
CismonX 604c7b1ee6 Add .gitattributes. Move source files. 2018-03-23 22:17:09 +08:00