| 1 | <?php |
||
| 12 | class Collections |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Sorts the specified list according to the order induced by the specified comparator. All elements in the list |
||
| 16 | * must be mutually comparable. |
||
| 17 | * |
||
| 18 | * @param ArrayList $list |
||
| 19 | * @param Comparator $comparator |
||
| 20 | * @return ArrayList |
||
| 21 | */ |
||
| 22 | public static function sort(ArrayList &$list, Comparator $comparator) |
||
| 29 | } |
||
| 30 |