Commit Graph

71 Commits

Author SHA1 Message Date
CismonX 7b88338374 Update config.w32. Update README. 2018-08-16 01:23:05 +08:00
CismonX 7aab23d435 Add `minWith()` and `maxWith()`. Fix ZTS build. Update stubs. 2018-08-15 22:37:37 +08:00
CismonX a5119e597d add ZTS globals for userland comparator callbacks 2018-08-14 19:56:25 +08:00
CismonX a3b35a865e update 2018-08-14 02:30:48 +08:00
CismonX 0c9948ad84 fix test 2018-08-14 00:00:22 +08:00
CismonX c9632d9a0d reformat code 2018-08-13 21:03:38 +08:00
CismonX 3cb8a87846 rename test 2018-08-13 20:09:42 +08:00
CismonX f5a217fd24 Merge branch 'master' of https://github.com/CismonX/ext-collections 2018-08-13 20:08:05 +08:00
CismonX bf4eaca339 add `shuffle()` and `shuffled()` 2018-08-13 19:35:34 +08:00
CismonX f8ac9344fa Add `fold()` and `foldRight()`. Fix memory leak bug. 2018-08-12 02:26:46 +08:00
CismonX 8ca9980472 update travis 2018-08-09 17:40:00 +08:00
CismonX db0465e943 closes #1 2018-08-09 16:53:29 +08:00
CismonX 3bf72f95e7 fix bug. update readme. 2018-08-08 15:55:57 +08:00
CismonX e0e5cf2425 Add `packed()`. Fix bug for `reduce()`. 2018-08-08 01:34:09 +08:00
CismonX 440d3fdb63 Add `reduce()` and `reduceRight()`. Update signatures. Fix bugs. Update README. 2018-08-08 00:43:09 +08:00
CismonX ecfee75fbe Add `putAll()`. 2018-07-30 01:53:05 +08:00
CismonX a92c3022e8 Add `map()` and `mapTo()`. Remove several methods due to redundancy. 2018-07-24 01:24:00 +08:00
CismonX d889b71f90 Add `slice()`. 2018-07-23 00:23:46 +08:00
CismonX 4fce31a10f Add `indexOf()`, `lastIndexOf()`, `indexOfFirst()` and `indexOfLast()`. 2018-07-15 00:11:02 +08:00
CismonX 441ca5be72 Add `takeWhile()` and `takeLastWhile()`. 2018-06-03 19:18:40 +08:00
CismonX 9666bc61d3 Drop support for PHP 7.0 2018-05-26 19:31:14 +08:00
CismonX 183648bf60 Compatible to C89. 2018-05-26 19:05:59 +08:00
CismonX e62bc2307d Add `taken()` and `takeLast()`. Fix `addAll()`. Check for packed array. 2018-05-26 19:02:32 +08:00
CismonX 80afae478b Add `reverse()` and `reversed()`. 2018-05-14 16:20:07 +08:00
CismonX 3b168358b7 Add `partition()`. Manually init properties for `Pair`. 2018-05-12 22:10:59 +08:00
CismonX dbf6fc6ecd Add `onEach()` and `forEach()`. Remove `orEmpty()`. 2018-05-09 21:00:18 +08:00
CismonX 570a03b943 Add macro. Update travis.yml(`make test` buggy on travis) 2018-05-05 20:22:11 +08:00
CismonX a57c1ba965 Add remove(), removeAll() and retainAll(). Fix readme. 2018-05-05 18:29:14 +08:00
CismonX bdaa0b7913 fix typo 2018-05-01 17:38:41 +08:00
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 1c787a4a41 Fix test file name typo. Update readme. 2018-04-22 23:06:49 +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 83a43421a9 update 2018-04-14 14:07:33 +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 84afc0012e remove redundant code 2018-04-01 16:29:13 +08:00
CismonX 4502ffbedb update 2018-03-31 12:16:59 +08:00
CismonX 7b98857eff Implement ArrayAccess. Fix config.m4, .travis.yml. Update stubs. 2018-03-31 12:02:13 +08:00