Commit Graph

101 Commits

Author SHA1 Message Date
1b2d443697 Add binarySearch() and binarySearchBy(). Refactor code. 2018-09-12 13:42:13 +08:00
7c9fda5c64 Add chunked(). 2018-09-11 11:28:45 +08:00
693e404667 Update signature for binarySearch() and binarySearchBy(). 2018-09-09 23:05:00 +08:00
d39b273251 Add signature for binarySearch(), binarySearchBy(), chunked(). 2018-09-09 22:20:39 +08:00
9dace534af Fix Windows ZTS build. 2018-09-08 13:07:29 +08:00
50219ce708 Refactor code. 2018-09-08 11:42:19 +08:00
49543970cc Add four methods. Refactor code. 2018-09-08 03:43:00 +08:00
64a991798f Refactor code. Add signature for subtract(). 2018-09-07 23:42:36 +08:00
34354803c7 Add retainWhile(). Refactor code. 2018-09-07 16:00:08 +08:00
1b1595a801 Fix bug. Add newline at EOF for stubs. 2018-09-06 11:46:53 +08:00
9a8204cada Fix bugs. Refactor code. 2018-09-06 11:33:41 +08:00
f3096fe30a Add sum() and sumBy(). 2018-09-06 10:30:18 +08:00
cf8092f6d2 Fix bugs. 2018-09-06 09:29:38 +08:00
c79545875b Fix bugs. 2018-09-06 00:00:15 +08:00
ce709d801d Add minus(). Remove isNotEmpty(). Fix bugs. 2018-09-05 18:44:16 +08:00
72504b9e7d Add plus() and union(). Fix bug. 2018-09-04 22:11:12 +08:00
6ab7721d47 Update signature. 2018-09-04 20:52:40 +08:00
24a3b72049 Add containsAllKeys() and containsAllValues(). 2018-09-03 21:54:14 +08:00
71d97cf961 Refactor code. 2018-09-03 20:07:08 +08:00
11ba227653 Add intersect() and intersectKeys(). 2018-09-03 19:34:58 +08:00
81be8bd83a Add groupByTo(). 2018-09-03 13:19:07 +08:00
0b5b7f1271 Refactor code. 2018-09-02 21:46:01 +08:00
08928ceb40 Add groupBy(). Refactor code. 2018-09-02 21:16:05 +08:00
b9f5b14b56 Fix bug for ArrayAccess implementation. 2018-08-31 01:27:19 +08:00
639479d031 Fix bugs. Refactor code. Improve performance of Pair. 2018-08-31 01:04:46 +08:00
f26e503772 Update signature of groupBy() and groupByTo(). 2018-08-29 21:52:15 +08:00
a89e2c8c10 Add distinctBy(). 2018-08-29 13:00:15 +08:00
1ce0386a2f Update distinct(). 2018-08-29 00:55:21 +08:00
43d19eeb9f fix indentation 2018-08-29 00:44:30 +08:00
52703d6ff8 Improve distinct(). 2018-08-29 00:36:50 +08:00
56d34235bb Fix bug. Refactor test code. 2018-08-28 22:11:09 +08:00
6a5302d7d3 Add distinct(). Refactor code. 2018-08-28 21:24:26 +08:00
683169af80 replace tabs with spaces 2018-08-26 20:59:47 +08:00
5fe6912bc4 reformat code 2018-08-26 20:56:35 +08:00
c221128351 Compatible with PHP 7.3+ 2018-08-26 20:33:02 +08:00
edda23318c add sortByxxx() methods. fix bugs. 2018-08-26 20:23:22 +08:00
ab9225efc9 Add sort(), sorted(), sortDescending(), sortedDescending(). 2018-08-23 20:16:44 +08:00
d1ab22ed92 fix segfault 2018-08-22 17:54:21 +08:00
4754c5a3d6 update arginfo. format code. 2018-08-22 16:35:27 +08:00
ac28d9eaa6 remove unused code. update readme. 2018-08-21 10:29:43 +08:00
f32fa48291 update compare flags 2018-08-20 22:47:23 +08:00
e9e1c966d7 Add sortWith() and sortedWith(). 2018-08-18 14:54:26 +08:00
f0cc4fda1b Fix retainAll(). Update .gitignore 2018-08-16 20:17:13 +08:00
5e3518a5ec fix bucket key segfault when converted into pair 2018-08-16 13:03:56 +08:00
7d60aff7e4 remove force inline from compare functions 2018-08-16 01:50:08 +08:00
7aab23d435 Add minWith() and maxWith(). Fix ZTS build. Update stubs. 2018-08-15 22:37:37 +08:00
a5119e597d add ZTS globals for userland comparator callbacks 2018-08-14 19:56:25 +08:00
a3b35a865e update 2018-08-14 02:30:48 +08:00
c9632d9a0d reformat code 2018-08-13 21:03:38 +08:00
f5a217fd24 Merge branch 'master' of https://github.com/CismonX/ext-collections 2018-08-13 20:08:05 +08:00