Commit Graph

79 Commits

Author SHA1 Message Date
CismonX 24a3b72049 Add `containsAllKeys()` and `containsAllValues()`. 2018-09-03 21:54:14 +08:00
CismonX 71d97cf961 Refactor code. 2018-09-03 20:07:08 +08:00
CismonX 11ba227653 Add `intersect()` and `intersectKeys()`. 2018-09-03 19:34:58 +08:00
CismonX 81be8bd83a Add `groupByTo()`. 2018-09-03 13:19:07 +08:00
CismonX 0b5b7f1271 Refactor code. 2018-09-02 21:46:01 +08:00
CismonX 08928ceb40 Add `groupBy()`. Refactor code. 2018-09-02 21:16:05 +08:00
CismonX b9f5b14b56 Fix bug for `ArrayAccess` implementation. 2018-08-31 01:27:19 +08:00
CismonX 639479d031 Fix bugs. Refactor code. Improve performance of `Pair`. 2018-08-31 01:04:46 +08:00
CismonX a89e2c8c10 Add `distinctBy()`. 2018-08-29 13:00:15 +08:00
CismonX 1ce0386a2f Update `distinct()`. 2018-08-29 00:55:21 +08:00
CismonX 43d19eeb9f fix indentation 2018-08-29 00:44:30 +08:00
CismonX 52703d6ff8 Improve `distinct()`. 2018-08-29 00:36:50 +08:00
CismonX 56d34235bb Fix bug. Refactor test code. 2018-08-28 22:11:09 +08:00
CismonX 6a5302d7d3 Add `distinct()`. Refactor code. 2018-08-28 21:24:26 +08:00
CismonX 683169af80 replace tabs with spaces 2018-08-26 20:59:47 +08:00
CismonX 5fe6912bc4 reformat code 2018-08-26 20:56:35 +08:00
CismonX c221128351 Compatible with PHP 7.3+ 2018-08-26 20:33:02 +08:00
CismonX edda23318c add `sortByxxx()` methods. fix bugs. 2018-08-26 20:23:22 +08:00
CismonX ab9225efc9 Add `sort()`, `sorted()`, `sortDescending()`, `sortedDescending()`. 2018-08-23 20:16:44 +08:00
CismonX d1ab22ed92 fix segfault 2018-08-22 17:54:21 +08:00
CismonX ac28d9eaa6 remove unused code. update readme. 2018-08-21 10:29:43 +08:00
CismonX f32fa48291 update compare flags 2018-08-20 22:47:23 +08:00
CismonX e9e1c966d7 Add `sortWith()` and `sortedWith()`. 2018-08-18 14:54:26 +08:00
CismonX f0cc4fda1b Fix `retainAll()`. Update .gitignore 2018-08-16 20:17:13 +08:00
CismonX 5e3518a5ec fix bucket key segfault when converted into pair 2018-08-16 13:03:56 +08:00
CismonX 7d60aff7e4 remove force inline from compare functions 2018-08-16 01:50:08 +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 c9632d9a0d reformat code 2018-08-13 21:03:38 +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 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 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