Open Journal Systems  3.3.0
Comparable.php
1 <?php
2 
3 /*
4  * Copyright (C) 2016 Sebastian Böttger <seboettg@gmail.com>
5  * You may use, distribute and modify this code under the
6  * terms of the MIT license.
7  *
8  * You should have received a copy of the MIT license with
9  * this file. If not, please visit: https://opensource.org/licenses/mit-license.php
10  */
11 
12 namespace Seboettg\Collection;
13 
24 interface Comparable {
25 
35  public function compareTo(Comparable $b);
36 
37 }
Seboettg\Collection
Definition: ArrayList.php:12
Seboettg\Collection\Comparable
Definition: Comparable.php:24
Seboettg\Collection\Comparable\compareTo
compareTo(Comparable $b)